Changeset 516a9c6 for lib/http_client.h


Ignore:
Timestamp:
2010-07-16T23:11:37Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
ef14a83
Parents:
7885d0f
Message:

No idea why http_dorequest() ever returned void*. Don't hide the type, it's
not a secret (the pointer is shared with a type later anyway).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/http_client.h

    r7885d0f r516a9c6  
    8181   you want to add some extra headers. As you can see, HTTPS connections
    8282   are also supported (using ssl_client). */
    83 void *http_dorequest( char *host, int port, int ssl, char *request, http_input_function func, gpointer data );
    84 void *http_dorequest_url( char *url_string, http_input_function func, gpointer data );
    85 
    86 void http_free( struct http_request *req );
     83struct http_request *http_dorequest( char *host, int port, int ssl, char *request, http_input_function func, gpointer data );
     84struct http_request *http_dorequest_url( char *url_string, http_input_function func, gpointer data );
Note: See TracChangeset for help on using the changeset viewer.