Go to the documentation of this file.
14 #ifndef _COAP_HASHKEY_H_
15 #define _COAP_HASHKEY_H_
34 #define coap_hash(String,Length,Result) \
35 coap_hash_impl((String),(Length),(Result))
38 #define __COAP_DEFAULT_HASH
40 #undef __COAP_DEFAULT_HASH
51 #define coap_str_hash(Str,H) { \
53 memset((H), 0, sizeof(coap_key_t)); \
54 coap_hash((H), (Str)->s, (Str)->length); \