summaryrefslogtreecommitdiff
path: root/libsoup/soup-status.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2004-08-26 15:33:33 +0000
committerDan Winship <danw@src.gnome.org>2004-08-26 15:33:33 +0000
commitafd1b9daee050c8f127b0a747c336327d1f46e6c (patch)
tree24ee20598b421951f31a4c629395098de6d2669e /libsoup/soup-status.c
parent8cbb9e013acfcacb00c2caffaad339bf65502e6c (diff)
downloadlibsoup-afd1b9daee050c8f127b0a747c336327d1f46e6c.tar.gz
add/fix lots of gtk-doc comments
* libsoup/*: add/fix lots of gtk-doc comments * libsoup/soup-misc.c (soup_str_case_hash, soup_str_case_equal): Fix bug noticed while documenting. (We were using the locale-case-insensitive functions rather than the g_ascii_ ones.) * libsoup/soup-message.h (SoupMessageFlags): remove the (never implemented) NO_PIPELINE and NO_COOKIE flags. * docs/reference/tmpl/*.sgml: Regenerate, fill in some stuff. There are still problems here with gtk-doc not recognizing many of the objects in libsoup...
Diffstat (limited to 'libsoup/soup-status.c')
-rw-r--r--libsoup/soup-status.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libsoup/soup-status.c b/libsoup/soup-status.c
index 83b5bad7..48f8f112 100644
--- a/libsoup/soup-status.c
+++ b/libsoup/soup-status.c
@@ -84,6 +84,14 @@ struct {
{ 0 }
};
+/**
+ * soup_status_get_phrase:
+ * @status_code: an HTTP status code
+ *
+ * Looks up the stock HTTP description of @status_code.
+ *
+ * Return value: the (English) description of @status_code
+ **/
const char *
soup_status_get_phrase (guint status_code)
{