Revision 21108,
1.3 KB
checked in by ghudson, 20 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r21107,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ |
---|
2 | /* |
---|
3 | * Copyright (C) 2001-2003, Ximian, Inc. |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef SOUP_HEADERS_H |
---|
7 | #define SOUP_HEADERS_H 1 |
---|
8 | |
---|
9 | #include <glib.h> |
---|
10 | #include <libsoup/soup-message.h> |
---|
11 | |
---|
12 | /* HTTP Header Parsing */ |
---|
13 | |
---|
14 | gboolean soup_headers_parse_request (char *str, |
---|
15 | int len, |
---|
16 | GHashTable *dest, |
---|
17 | char **req_method, |
---|
18 | char **req_path, |
---|
19 | SoupHttpVersion *ver); |
---|
20 | |
---|
21 | gboolean soup_headers_parse_status_line (const char *status_line, |
---|
22 | SoupHttpVersion *ver, |
---|
23 | guint *status_code, |
---|
24 | char **status_phrase); |
---|
25 | |
---|
26 | gboolean soup_headers_parse_response (char *str, |
---|
27 | int len, |
---|
28 | GHashTable *dest, |
---|
29 | SoupHttpVersion *ver, |
---|
30 | guint *status_code, |
---|
31 | char **status_phrase); |
---|
32 | |
---|
33 | /* HTTP parameterized header parsing */ |
---|
34 | |
---|
35 | char *soup_header_param_decode_token (char **in); |
---|
36 | |
---|
37 | GHashTable *soup_header_param_parse_list (const char *header); |
---|
38 | |
---|
39 | char *soup_header_param_copy_token (GHashTable *tokens, |
---|
40 | char *t); |
---|
41 | |
---|
42 | void soup_header_param_destroy_hash (GHashTable *table); |
---|
43 | |
---|
44 | #endif /*SOUP_HEADERS_H*/ |
---|
Note: See
TracBrowser
for help on using the repository browser.