1/** 2 * \private 3 */ 4struct genhash_entry_t { 5 /** The key for this entry */ 6 void *key; 7 /** Size of the key */ 8 size_t nkey; 9 /** The value for this entry */ 10 void *value; 11 /** Size of the value */ 12 size_t nvalue; 13 /** Pointer to the next entry */ 14 struct genhash_entry_t *next; 15}; 16 17struct _genhash { 18 size_t size; 19 struct hash_ops ops; 20 struct genhash_entry_t *buckets[1]; /* It is actually variable size */ 21}; 22