diff options
Diffstat (limited to 'src/rexmpp_random.h')
-rw-r--r-- | src/rexmpp_random.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/rexmpp_random.h b/src/rexmpp_random.h index 1b21001..b0f1978 100644 --- a/src/rexmpp_random.h +++ b/src/rexmpp_random.h @@ -19,4 +19,11 @@ */ void rexmpp_random_buf (void *buf, size_t len); +/** + @brief Generates a random ASCII identifier. + @returns A null-terminated string, which must be freed by the + caller. +*/ +char *rexmpp_random_id (); + #endif |