/[osn-commons]/trunk/freehttpd/request.h
ViewVC logotype

Diff of /trunk/freehttpd/request.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 44 by rakinar2, Sat Aug 10 18:33:37 2024 UTC revision 45 by rakinar2, Sun Aug 11 17:35:46 2024 UTC
# Line 9  typedef struct freehttpd_header Line 9  typedef struct freehttpd_header
9  {  {
10      char *name;      char *name;
11      char *value;      char *value;
12        size_t name_length;
13        size_t value_length;
14  } freehttpd_header_t;  } freehttpd_header_t;
15    
16  typedef struct freehttpd_request  typedef struct freehttpd_request
# Line 17  typedef struct freehttpd_request Line 19  typedef struct freehttpd_request
19      size_t method_length;      size_t method_length;
20      char *uri;      char *uri;
21      size_t uri_length;      size_t uri_length;
22        char *path;
23        size_t path_length;
24        char *query;
25        size_t query_length;
26      char *version;      char *version;
27      size_t version_length;      size_t version_length;
28      freehttpd_header_t **headers;      freehttpd_header_t **headers;
# Line 32  void freehttpd_request_free (freehttpd_r Line 38  void freehttpd_request_free (freehttpd_r
38  freehttpd_request_t *freehttpd_request_parse (freehttpd_t *freehttpd,  freehttpd_request_t *freehttpd_request_parse (freehttpd_t *freehttpd,
39                                                int sockfd, ecode_t *error);                                                int sockfd, ecode_t *error);
40    
41    freehttpd_header_t *freehttpd_header_init (const char *name, const char *value,
42                                               size_t name_length,
43                                               size_t value_length);
44    void freehttpd_header_free (freehttpd_header_t *header);
45    
46  #endif  #endif

Legend:
Removed from v.44  
changed lines
  Added in v.45

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26