1 #ifndef HTTP_HOST
 2 #define HTTP_HOST
 3 
 4 #include "rh_buffer.h"
 5 
 6 typedef struct http_host        http_host_t;
 7 
 8 struct http_host {
 9         rh_buffer_t     host;
10         unsigned int    port;
11 };
12 
13 int  http_host_parse (http_host_t *host, const char *src, size_t nsrc);
14 void http_host_destroy (http_host_t *host);
15 void http_host_free (void *ptr);
16 
17 
18 #endif /* HTTP_HOST */


syntax highlighted by Code2HTML, v. 0.9.1