diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-02-18 05:29:31 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-02-18 05:29:31 +0000 |
commit | 7a6d02f3ea32915de7d0d170bbd2ce593373731a (patch) | |
tree | 2a7cff1aeac30709de9df732edec9fb2a1882327 /include/asterisk/utils.h | |
parent | bf6afaf5cb615f1468b79d9bc184e5aeea66b489 (diff) |
Add OEJ's md5 app (bug #3604)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5048 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/utils.h')
-rwxr-xr-x | include/asterisk/utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/utils.h b/include/asterisk/utils.h index c9b971735..6e3a7d5db 100755 --- a/include/asterisk/utils.h +++ b/include/asterisk/utils.h @@ -127,10 +127,13 @@ struct ast_hostent { extern char *ast_strip(char *buf); extern struct hostent *ast_gethostbyname(const char *host, struct ast_hostent *hp); +/* ast_md5_hash: Produces MD5 hash based on input string */ +extern void ast_md5_hash(char *output, char *input); extern int ast_base64encode(char *dst, unsigned char *src, int srclen, int max); extern int ast_base64decode(unsigned char *dst, char *src, int max); extern int test_for_thread_safety(void); + extern const char *ast_inet_ntoa(char *buf, int bufsiz, struct in_addr ia); extern int ast_utils_init(void); |