mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-12 16:50:21 +00:00
mg_md5 made public
This commit is contained in:
1 parent
b33755c962
commit
627a6dbb5a
2 files changed
+12
-1
No files matched your search
+11
@@ -236,6 +236,17 @@ enum mg_error_t mg_get_cookie(const struct mg_connection *,
|
||||
const char *mg_version(void);
|
||||
|
||||
|
||||
/*
|
||||
* MD5 hash given strings.
|
||||
* Buffer 'buf' must be 33 bytes long. Varargs is a NULL terminated list of
|
||||
* asciiz strings. When function returns, buf will contain human-readable
|
||||
* MD5 hash. Example:
|
||||
* char buf[33];
|
||||
* mg_md5(buf, "aa", "bb", NULL);
|
||||
*/
|
||||
void mg_md5(char *buf, ...);
|
||||
|
||||
|
||||
/*
|
||||
* Print command line usage string.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user