HTP 0.5
htp_table_private.h File Reference
#include "htp_list.h"
#include "htp_table.h"

Go to the source code of this file.

Data Structures

struct  htp_table_t

Enumerations

enum  htp_table_alloc_t { HTP_TABLE_KEYS_ALLOC_UKNOWN = 0 , HTP_TABLE_KEYS_COPIED = 1 , HTP_TABLE_KEYS_ADOPTED = 2 , HTP_TABLE_KEYS_REFERENCED = 3 }

Detailed Description

Enumeration Type Documentation

◆ htp_table_alloc_t

Enumerator
HTP_TABLE_KEYS_ALLOC_UKNOWN 

This is the default value, used only until the first element is added.

HTP_TABLE_KEYS_COPIED 

Keys are copied.

HTP_TABLE_KEYS_ADOPTED 

Keys are adopted and freed when the table is destroyed.

HTP_TABLE_KEYS_REFERENCED 

Keys are only referenced; the caller is still responsible for freeing them after the table is destroyed.