summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-09-23 23:16:53 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-09-23 23:16:53 +0200
commit3de7b05d8557a60eaa5a4dd857aa3467cecd105c (patch)
tree0d2c06196d2fbaa85bb4c58fcd6a2363adf9b99f /src
parentc2ddc4f5550e4081575fbcbaf37f6b3dafe7c05e (diff)
utils: add 'returns' doc to osmo_hexparse().
Diffstat (limited to 'src')
-rw-r--r--src/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c
index d4a29248..3dc06933 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -101,6 +101,7 @@ uint8_t osmo_char2bcd(char c)
* \param[in] str string containing ASCII encoded hexadecimal digits
* \param[out] b output buffer
* \param[in] max_len maximum space in output buffer
+ * \returns number of parsed octets, or -1 on error
*/
int osmo_hexparse(const char *str, uint8_t *b, int max_len)