]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - string.c
rbtree: Add const qualifier to some functions.
[paraslash.git] / string.c
index eb458dad1b380d231a653c023dcc66646ebb8c98..52003c4b49035c0075ff1ef51de150c4f9542379 100644 (file)
--- a/string.c
+++ b/string.c
@@ -587,6 +587,13 @@ int para_atoi32(const char *str, int32_t *value)
        return 1;
 }
 
+/**
+ * Compute the loglevel number from its name.
+ *
+ * \param txt The name of the loglevel (debug, info, ...).
+ *
+ * \return The numeric representation of the loglevel name.
+ */
 int get_loglevel_by_name(const char *txt)
 {
        if (!strcasecmp(txt, "debug"))