lib1508.c
Go to the documentation of this file.
00001 /***************************************************************************
00002  *                                  _   _ ____  _
00003  *  Project                     ___| | | |  _ \| |
00004  *                             / __| | | | |_) | |
00005  *                            | (__| |_| |  _ <| |___
00006  *                             \___|\___/|_| \_\_____|
00007  *
00008  * Copyright (C) 2013, Linus Nielsen Feltzing <linus@haxx.se>
00009  *
00010  * This software is licensed as described in the file COPYING, which
00011  * you should have received as part of this distribution. The terms
00012  * are also available at https://curl.haxx.se/docs/copyright.html.
00013  *
00014  * You may opt to use, copy, modify, merge, publish, distribute and/or sell
00015  * copies of the Software, and permit persons to whom the Software is
00016  * furnished to do so, under the terms of the COPYING file.
00017  *
00018  * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
00019  * KIND, either express or implied.
00020  *
00021  ***************************************************************************/
00022 #include "test.h"
00023 
00024 #include "testutil.h"
00025 #include "warnless.h"
00026 #include "memdebug.h"
00027 
00028 int test(char *URL)
00029 {
00030   int res = 0;
00031   CURLM *m = NULL;
00032 
00033   (void)URL;
00034 
00035   global_init(CURL_GLOBAL_ALL);
00036 
00037   multi_init(m);
00038 
00039 test_cleanup:
00040 
00041   /* proper cleanup sequence - type PB */
00042 
00043   curl_multi_cleanup(m);
00044   curl_global_cleanup();
00045 
00046   printf("We are done\n");
00047 
00048   return res;
00049 }


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:05