Tor  0.4.7.0-alpha-dev
Data Structures | Macros
namemap_st.h File Reference

Internal declarations for namemap structure. More...

#include "lib/cc/compat_compiler.h"
#include "ext/ht.h"

Go to the source code of this file.

Data Structures

struct  mapped_name_t
 
struct  namemap_t
 

Macros

#define MAX_NAMEMAP_NAME_LEN   128
 
#define NAMEMAP_INIT()   { HT_INITIALIZER(), NULL }
 

Detailed Description

Internal declarations for namemap structure.

Definition in file namemap_st.h.

Macro Definition Documentation

◆ MAX_NAMEMAP_NAME_LEN

#define MAX_NAMEMAP_NAME_LEN   128

Longest allowed name that's allowed in a namemap_t.

Definition at line 20 of file namemap_st.h.

◆ NAMEMAP_INIT

#define NAMEMAP_INIT ( )    { HT_INITIALIZER(), NULL }

Macro to initialize a namemap.

Definition at line 38 of file namemap_st.h.