summaryrefslogtreecommitdiff
path: root/libsoup/soup-method.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-method.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-method.c')
-rw-r--r--libsoup/soup-method.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/libsoup/soup-method.c b/libsoup/soup-method.c
index 74af5f04..7f9d33d9 100644
--- a/libsoup/soup-method.c
+++ b/libsoup/soup-method.c
@@ -9,8 +9,17 @@
#include "soup-method.h"
+/**
+ * soup_method_get_id:
+ * @method: an HTTP method
+ *
+ * Converts @method into a corresponding #SoupMethodId (possibly
+ * %SOUP_METHOD_ID_UNKNOWN).
+ *
+ * Return value: the #SoupMethodId
+ **/
SoupMethodId
-soup_method_get_id (const gchar *method)
+soup_method_get_id (const char *method)
{
g_return_val_if_fail (method != NULL, SOUP_METHOD_ID_UNKNOWN);