|
Data Structures |
struct | method_oper_t |
struct | srv_proto_t |
Defines |
#define | METHOD_OPER_TABLE_CHAINS 32 |
#define | SRV_PROTO_TABLE_CHAINS 32 |
Functions |
static int | method_oper_compare (unsigned long key[], hash_count_t keys, link_t *item) |
static hash_index_t | method_oper_hash (unsigned long key[]) |
static void | method_oper_remove_callback (link_t *item) |
oper_t * | oper_new (const char *name, int argc, val_type_t *arg_types, val_type_t rv_type, int respc, val_type_t *resp_types) |
static void | oper_struct_init (oper_t *oper, const char *name) |
void | proto_add_oper (proto_t *proto, int method, oper_t *oper) |
void | proto_cleanup (void) |
void | proto_delete (proto_t *proto) |
proto_t * | proto_get_by_srv (int srv) |
oper_t * | proto_get_oper (proto_t *proto, int method) |
void | proto_init (void) |
proto_t * | proto_new (const char *name) |
void | proto_register (int srv, proto_t *proto) |
static void | proto_struct_init (proto_t *proto, const char *name) |
static int | srv_proto_compare (unsigned long key[], hash_count_t keys, link_t *item) |
static hash_index_t | srv_proto_hash (unsigned long key[]) |
static void | srv_proto_remove_callback (link_t *item) |
Variables |
hash_table_operations_t | method_oper_ops |
hash_table_t | srv_proto |
hash_table_operations_t | srv_proto_ops |