summaryrefslogtreecommitdiff
path: root/include/asterisk/utils.h
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2006-02-03 22:37:29 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2006-02-03 22:37:29 +0000
commit34bcd0e0b65aef5a30b1b87a1e934a22757f1e5a (patch)
tree7ee7bba9af76d6bbba703f9f46349e75ac245ab6 /include/asterisk/utils.h
parent193b923925caabbf9d2dcc989f8e2b90e8ed82e1 (diff)
Bug 6322 - Implementation of SHA1 in Asterisk (plus dialplan function to use it)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/utils.h')
-rw-r--r--include/asterisk/utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/utils.h b/include/asterisk/utils.h
index f16817b86..416f362f6 100644
--- a/include/asterisk/utils.h
+++ b/include/asterisk/utils.h
@@ -145,6 +145,9 @@ struct hostent *ast_gethostbyname(const char *host, struct ast_hostent *hp);
/* ast_md5_hash
\brief Produces MD5 hash based on input string */
void ast_md5_hash(char *output, char *input);
+/* ast_sha1_hash
+ \brief Produces SHA1 hash based on input string */
+void ast_sha1_hash(char *output, char *input);
int ast_base64encode(char *dst, const unsigned char *src, int srclen, int max);
int ast_base64decode(unsigned char *dst, const char *src, int max);