- counter_t count; /**< amount of pattern occurance */
- unsigned len; /**< lenght of the VLC encoded buffer */
- BYTE buf[1]; /**< buffer contains the VLC encoded pattern */
+ counter_t count; /**< amount of pattern occurance */
+ unsigned len; /**< length of the VLC encoded buffer */
+ BYTE buf[1]; /**< buffer contains the VLC encoded pattern */
- int enable; /**< if non-zero, this module is enabled */
- struct obstack obst; /**< obstack containing the counters */
- HASH_MAP(pattern_entry_t) *pattern_hash; /**< hash map containing the counter for pattern */
- unsigned bound; /**< lowest value for output */
- unsigned options; /**< option mask */
+ int enable; /**< if non-zero, this module is enabled */
+ struct obstack obst; /**< obstack containing the counters */
+ HASH_MAP(pattern_entry_t) *pattern_hash; /**< hash map containing the counter for pattern */
+ unsigned bound; /**< lowest value for output */
+ unsigned options; /**< option mask */
- s_entry = set_hinsert(env->id_set, &entry, sizeof(entry), addr_hash(node));
+ s_entry = set_hinsert(env->id_set, &entry, sizeof(entry), HASH_PTR(node));
put_code(env->buf, (unsigned)mode);
else
put_tag(env->buf, VLC_TAG_EMPTY);
put_code(env->buf, (unsigned)mode);
else
put_tag(env->buf, VLC_TAG_EMPTY);