diff options
author | defanor <defanor@uberspace.net> | 2023-09-29 20:24:16 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2023-09-29 20:24:16 +0300 |
commit | ccdb748c81abc9bb30b8989e27d22bbbb219f9a0 (patch) | |
tree | 295be2ea605c8acbe56116ea3ce119b99e3e0440 /src/rexmpp_random.h | |
parent | 04e6fd5194481798bc30abc7a690664d5af36aeb (diff) |
Add more checks, tests, and documentation
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 |