HomePort
Typedefs | Functions
hpd_curl_ev.h File Reference
Include dependency graph for hpd_curl_ev.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void(* hpd_curl_ev_done_f) (void *userdata, int curl_code)
 
typedef size_t(* hpd_curl_ev_f) (char *buffer, size_t size, size_t nmemb, void *userdata)
 
typedef void(* hpd_curl_ev_free_f) (void *userdata)
 
typedef struct hpd_curl_ev_handle hpd_curl_ev_handle_t
 

Functions

hpd_error_t hpd_curl_ev_add_handle (hpd_curl_ev_handle_t *handle)
 
hpd_error_t hpd_curl_ev_add_header (hpd_curl_ev_handle_t *handle, const char *header)
 HPD_E_UNKNOWN: handle may be in an inconsistent state, and should not be added before a call to this function succeeded. More...
 
hpd_error_t hpd_curl_ev_cleanup (hpd_curl_ev_handle_t *handle)
 
hpd_error_t hpd_curl_ev_init (hpd_curl_ev_handle_t **handle, const hpd_module_t *context)
 
hpd_error_t hpd_curl_ev_remove_handle (hpd_curl_ev_handle_t *handle)
 
hpd_error_t hpd_curl_ev_set_body_callback (hpd_curl_ev_handle_t *handle, hpd_curl_ev_f on_body)
 
hpd_error_t hpd_curl_ev_set_custom_request (hpd_curl_ev_handle_t *handle, const char *request)
 
hpd_error_t hpd_curl_ev_set_data (hpd_curl_ev_handle_t *handle, void *data, hpd_curl_ev_free_f on_free)
 
hpd_error_t hpd_curl_ev_set_done_callback (hpd_curl_ev_handle_t *handle, hpd_curl_ev_done_f on_done)
 
hpd_error_t hpd_curl_ev_set_header_callback (hpd_curl_ev_handle_t *handle, hpd_curl_ev_f on_header)
 
hpd_error_t hpd_curl_ev_set_postfields (hpd_curl_ev_handle_t *handle, const void *data, size_t len)
 HPD_E_UNKNOWN: handle may be in an inconsistent state, and should not be added before a call to this function succeeded. More...
 
hpd_error_t hpd_curl_ev_set_url (hpd_curl_ev_handle_t *handle, const char *url)
 
hpd_error_t hpd_curl_ev_set_verbose (hpd_curl_ev_handle_t *handle, long int bool)
 

Typedef Documentation

typedef void(* hpd_curl_ev_done_f) (void *userdata, int curl_code)

Definition at line 38 of file hpd_curl_ev.h.

typedef size_t(* hpd_curl_ev_f) (char *buffer, size_t size, size_t nmemb, void *userdata)

Definition at line 36 of file hpd_curl_ev.h.

typedef void(* hpd_curl_ev_free_f) (void *userdata)

Definition at line 37 of file hpd_curl_ev.h.

Definition at line 34 of file hpd_curl_ev.h.

Function Documentation

hpd_error_t hpd_curl_ev_add_handle ( hpd_curl_ev_handle_t handle)

Definition at line 260 of file curl_ev_module.c.

Here is the call graph for this function:

hpd_error_t hpd_curl_ev_add_header ( hpd_curl_ev_handle_t handle,
const char *  header 
)

HPD_E_UNKNOWN: handle may be in an inconsistent state, and should not be added before a call to this function succeeded.

Definition at line 178 of file curl_ev.c.

hpd_error_t hpd_curl_ev_cleanup ( hpd_curl_ev_handle_t handle)

Definition at line 90 of file curl_ev.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_curl_ev_init ( hpd_curl_ev_handle_t **  handle,
const hpd_module_t context 
)

Definition at line 71 of file curl_ev.c.

Here is the call graph for this function:

hpd_error_t hpd_curl_ev_remove_handle ( hpd_curl_ev_handle_t handle)

Definition at line 284 of file curl_ev_module.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_curl_ev_set_body_callback ( hpd_curl_ev_handle_t handle,
hpd_curl_ev_f  on_body 
)

Definition at line 110 of file curl_ev.c.

hpd_error_t hpd_curl_ev_set_custom_request ( hpd_curl_ev_handle_t handle,
const char *  request 
)

Definition at line 124 of file curl_ev.c.

hpd_error_t hpd_curl_ev_set_data ( hpd_curl_ev_handle_t handle,
void *  data,
hpd_curl_ev_free_f  on_free 
)

Definition at line 133 of file curl_ev.c.

hpd_error_t hpd_curl_ev_set_done_callback ( hpd_curl_ev_handle_t handle,
hpd_curl_ev_done_f  on_done 
)

Definition at line 117 of file curl_ev.c.

hpd_error_t hpd_curl_ev_set_header_callback ( hpd_curl_ev_handle_t handle,
hpd_curl_ev_f  on_header 
)

Definition at line 103 of file curl_ev.c.

hpd_error_t hpd_curl_ev_set_postfields ( hpd_curl_ev_handle_t handle,
const void *  data,
size_t  len 
)

HPD_E_UNKNOWN: handle may be in an inconsistent state, and should not be added before a call to this function succeeded.

Definition at line 145 of file curl_ev.c.

hpd_error_t hpd_curl_ev_set_url ( hpd_curl_ev_handle_t handle,
const char *  url 
)

Definition at line 155 of file curl_ev.c.

hpd_error_t hpd_curl_ev_set_verbose ( hpd_curl_ev_handle_t handle,
long int  bool 
)

Definition at line 164 of file curl_ev.c.