]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
audiod_command.c: Dedox stat_item_valid().
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 21 Nov 2022 12:59:09 +0000 (13:59 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 9 Jan 2023 16:45:45 +0000 (17:45 +0100)
Another static function which does not need to be documented with
doxygen.

audiod_command.c

index 6e2f8ee9e4aaf446267270e3be2398a4ee6d7c96..743d73a9277802fbb966b373c2af357c14a88155 100644 (file)
@@ -186,14 +186,7 @@ void stat_client_write_item(int item_num)
        free(pfpb.buf);
 }
 
-/**
- * Check if string is a known status item.
- *
- * \param item Buffer containing the text to check.
- *
- * \return If \a item is a valid status item, the number of that status item is
- * returned. Otherwise, this function returns \p -E_UNKNOWN_STAT_ITEM.
- */
+/* Check if the given string is a known status item and return its index. */
 static int stat_item_valid(const char *item)
 {
        int i;