jigdo API
Last update by Admin on 2010-05-23
glibcurl/glibcurl.h
Go to the documentation of this file.00001 /* $Id: glibcurl.h,v 1.7 2004/12/04 13:58:29 atterer Exp $ -*- C -*- 00002 __ _ 00003 |_) /| Copyright (C) 2004 | richard@ 00004 | \/¯| Richard Atterer | atterer.net 00005 ¯ '` ¯ 00006 All rights reserved. 00007 00008 Permission to use, copy, modify, and distribute this software for any 00009 purpose with or without fee is hereby granted, provided that the above 00010 copyright notice and this permission notice appear in all copies. 00011 00012 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 00013 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00014 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. 00015 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 00016 DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 00017 OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 00018 USE OR OTHER DEALINGS IN THE SOFTWARE. 00019 00020 Except as contained in this notice, the name of a copyright holder shall 00021 not be used in advertising or otherwise to promote the sale, use or other 00022 dealings in this Software without prior written authorization of the 00023 copyright holder. 00024 00025 */ 00026 00031 #ifndef GLIBCURL_H 00032 #define GLIBCURL_H 00033 00034 #include <curl/curl.h> 00035 00036 #ifdef __cplusplus 00037 extern "C" { 00038 #endif 00039 00042 void glibcurl_init(); 00043 00045 CURLM* glibcurl_handle(); 00046 00049 CURLMcode glibcurl_add(CURL* easy_handle); 00050 00053 CURLMcode glibcurl_remove(CURL* easy_handle); 00054 00061 void glibcurl_start(); 00062 00064 typedef void (*GlibcurlCallback)(void*); 00069 void glibcurl_set_callback(GlibcurlCallback function, void* data); 00070 00074 void glibcurl_cleanup(); 00075 00076 #ifdef __cplusplus 00077 } 00078 #endif 00079 00080 #endif
Generated on Tue Sep 23 14:27:41 2008 for jigdo by
