summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/charset/aliases.c3
-rw-r--r--src/charset/codec.c2
-rw-r--r--src/input/filter.c2
-rw-r--r--src/input/inputstream.c2
-rw-r--r--src/utils/dict.c5
5 files changed, 9 insertions, 5 deletions
diff --git a/src/charset/aliases.c b/src/charset/aliases.c
index a34ef6f..188a275 100644
--- a/src/charset/aliases.c
+++ b/src/charset/aliases.c
@@ -408,7 +408,8 @@ parserutils_charset_aliases_canon *parserutils_charset_create_canon(
/**
* Hash function
*
- * \param alias String to hash
+ * \param alias String to hash
+ * \param len Number of bytes to hash (<= strlen(alias))
* \return The hashed value
*/
uint32_t parserutils_charset_hash_val(const char *alias, size_t len)
diff --git a/src/charset/codec.c b/src/charset/codec.c
index ea1fc7e..3a52ac0 100644
--- a/src/charset/codec.c
+++ b/src/charset/codec.c
@@ -106,7 +106,7 @@ parserutils_error parserutils_charset_codec_destroy(
* Configure a charset codec
*
* \param codec The codec to configure
- * \parem type The codec option type to configure
+ * \param type The codec option type to configure
* \param params Option-specific parameters
* \return PARSERUTILS_OK on success, appropriate error otherwise
*/
diff --git a/src/input/filter.c b/src/input/filter.c
index 7d7b340..cead308 100644
--- a/src/input/filter.c
+++ b/src/input/filter.c
@@ -305,7 +305,7 @@ parserutils_error parserutils_filter_process_chunk(parserutils_filter *input,
* Reset an input filter's state
*
* \param input The input filter to reset
- * \param PARSERUTILS_OK on success, appropriate error otherwise
+ * \return PARSERUTILS_OK on success, appropriate error otherwise
*/
parserutils_error parserutils_filter_reset(parserutils_filter *input)
{
diff --git a/src/input/inputstream.c b/src/input/inputstream.c
index 1bc40c5..12a8645 100644
--- a/src/input/inputstream.c
+++ b/src/input/inputstream.c
@@ -313,7 +313,7 @@ const char *parserutils_inputstream_read_charset(
* Change the source charset of the input stream
*
* \param stream Input stream to modify
- * \param charset Charset name
+ * \param enc Charset name
* \param source Charset source identifier
* \return PARSERUTILS_OK on success,
* PARSERUTILS_BADPARM on invalid parameters,
diff --git a/src/utils/dict.c b/src/utils/dict.c
index 151e510..b4ee11a 100644
--- a/src/utils/dict.c
+++ b/src/utils/dict.c
@@ -34,7 +34,10 @@ static void dict_del(void *key, void *value, void *pw);
*
* \param alloc Memory (de)allocation function
* \param pw Pointer to client-specific private data
- * \return Pointer to dictionary instance, or NULL on memory exhaustion
+ * \param dict Pointer to location to receive dictionary instance
+ * \return PARSERUTILS_OK on success,
+ * PARSERUTILS_NOMEM on memory exhaustion,
+ * PARSERUTILS_BADPARM on bad parameters.
*/
parserutils_error parserutils_dict_create(parserutils_alloc alloc, void *pw,
parserutils_dict **dict)