diff options
author | Joshua Colp <jcolp@digium.com> | 2012-06-02 21:13:36 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2012-06-02 21:13:36 +0000 |
commit | 380c7c5c39b9a0879d90df99196c06d01a70dd92 (patch) | |
tree | 13c88e100b85d908c21861746dafe5c48cdc5994 /include/asterisk/utils.h | |
parent | 91a20ee2f95e2eb8f080bb90568459659960d726 (diff) |
Add res_http_websocket module which implements the WebSocket protocol according to RFC 6455.
Review: https://reviewboard.asterisk.org/r/1952/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@368359 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/utils.h')
-rw-r--r-- | include/asterisk/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/utils.h b/include/asterisk/utils.h index 4ebd3ead8..a7e01153b 100644 --- a/include/asterisk/utils.h +++ b/include/asterisk/utils.h @@ -219,6 +219,8 @@ struct hostent *ast_gethostbyname(const char *host, struct ast_hostent *hp); void ast_md5_hash(char *output, const char *input); /*! \brief Produces SHA1 hash based on input string */ void ast_sha1_hash(char *output, const char *input); +/*! \brief Produces SHA1 hash based on input string, stored in uint8_t array */ +void ast_sha1_hash_uint(uint8_t *digest, const char *input); int ast_base64encode_full(char *dst, const unsigned char *src, int srclen, int max, int linebreaks); |