diff options
author | Dan Winship <danw@gnome.org> | 2012-11-08 11:28:39 -0500 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2012-11-08 11:28:39 -0500 |
commit | 69c489d590ddeb7d532ddb99943e0990173a8110 (patch) | |
tree | 859b21c742754bfd2cb7a39631eaed20802a4cec /libsoup/soup-headers.h | |
parent | da70b77bdc45e9d6e3fd3ee76c6fec3fb4e8ba73 (diff) | |
download | libsoup-69c489d590ddeb7d532ddb99943e0990173a8110.tar.gz |
Add per-version deprecation/availability warnings
Add SOUP_VERSION_X_XX, SOUP_VERSION_MIN_REQUIRED, and
SOUP_VERSION_MAX_ALLOWED, to enable version-based warnings.
Tag all functions with appropriate SOUP_AVAILABLE_IN_ and
SOUP_DEPRECATED_IN_ macros.
Also, fix up some "Since" tags to not refer to unstable releases or
non-.0 point releases.
Diffstat (limited to 'libsoup/soup-headers.h')
-rw-r--r-- | libsoup/soup-headers.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libsoup/soup-headers.h b/libsoup/soup-headers.h index cc542c34..687ea41e 100644 --- a/libsoup/soup-headers.h +++ b/libsoup/soup-headers.h @@ -13,6 +13,7 @@ G_BEGIN_DECLS /* HTTP Header Parsing */ +SOUP_AVAILABLE_IN_2_26 gboolean soup_headers_parse (const char *str, int len, SoupMessageHeaders *dest); @@ -47,12 +48,15 @@ gboolean soup_header_contains (const char *header, const char *token); GHashTable *soup_header_parse_param_list (const char *header); +SOUP_AVAILABLE_IN_2_24 GHashTable *soup_header_parse_semi_param_list (const char *header); void soup_header_free_param_list (GHashTable *param_list); +SOUP_AVAILABLE_IN_2_26 void soup_header_g_string_append_param (GString *string, const char *name, const char *value); +SOUP_AVAILABLE_IN_2_30 void soup_header_g_string_append_param_quoted (GString *string, const char *name, const char *value); |