Tor
0.4.7.0-alpha-dev
|
Name-to-ID maps for our message dispatch system. More...
#include "orconfig.h"
#include "lib/cc/compat_compiler.h"
#include "lib/dispatch/dispatch_naming.h"
#include "lib/dispatch/msgtypes.h"
#include "lib/container/namemap.h"
#include "lib/container/namemap_st.h"
#include "lib/log/util_bug.h"
#include "lib/log/log.h"
#include <stdlib.h>
Go to the source code of this file.
Macros | |
#define | DECLARE_ID_MAP_FNS(type) |
Functions | |
void | dispatch_naming_init (void) |
DECLARE_ID_MAP_FNS (message) | |
DECLARE_ID_MAP_FNS (channel) | |
DECLARE_ID_MAP_FNS (subsys) | |
DECLARE_ID_MAP_FNS (msg_type) | |
Variables | |
static namemap_t | message_id_map = NAMEMAP_INIT() |
static namemap_t | subsys_id_map = NAMEMAP_INIT() |
static namemap_t | channel_id_map = NAMEMAP_INIT() |
static namemap_t | msg_type_id_map = NAMEMAP_INIT() |
Name-to-ID maps for our message dispatch system.
Definition in file dispatch_naming.c.
#define DECLARE_ID_MAP_FNS | ( | type | ) |
Definition at line 45 of file dispatch_naming.c.
|
static |
Global namemap for channel IDs.
Definition at line 32 of file dispatch_naming.c.
|
static |
Global namemap for message IDs.
Definition at line 28 of file dispatch_naming.c.
|
static |
Global namemap for message type IDs.
Definition at line 34 of file dispatch_naming.c.
|
static |
Global namemap for subsystem IDs.
Definition at line 30 of file dispatch_naming.c.