Straightn http client generation
[citadel.git] / citadel / event_client.h
index c949a6ce937c3517fe826b9db1463ce984c7ad41..9c4fd2ba143806ce50bc529f6f94e8048e4d4c38 100644 (file)
@@ -193,13 +193,6 @@ void InitC_ares_dns(AsyncIO *IO);
                        syslog(LOG_ERR, "error setting option " #s " on curl handle: %s", curl_easy_strerror(sta)); \
        } } while (0)
 
-int evcurl_init(AsyncIO *IO,
-                void *CustomData,
-                const char* Desc,
-                IO_CallBack CallBack,
-                IO_CallBack Terminate, 
-               IO_CallBack ShutdownAbort);
-
 void InitIOStruct(AsyncIO *IO,
                  void *Data,
                  eNextState NextState,
@@ -212,6 +205,13 @@ void InitIOStruct(AsyncIO *IO,
                  IO_CallBack Timeout,
                  IO_CallBack ShutdownAbort);
 
+int InitcURLIOStruct(AsyncIO *IO,
+                    void *Data,
+                    const char* Desc,
+                    IO_CallBack SendDone,
+                    IO_CallBack Terminate,
+                    IO_CallBack ShutdownAbort);
+
 eNextState ReAttachIO(AsyncIO *IO, 
                      void *pData, 
                      int ReadFirst);