20 #ifndef __included_svmdb_h__ 21 #define __included_svmdb_h__ 63 #define SVMDB_SHM_VERSION 2 96 #define SVMDB_DEFAULT_SIZE (4<<20) 103 char *var,
char *val);
112 char *var,
void *val,
u32 elsize);
121 char *var,
u32 nbytes);
void svmdb_local_dump_strings(svmdb_client_t *client)
void svmdb_local_set_vec_variable(svmdb_client_t *client, char *var, void *val, u32 elsize)
int svmdb_local_add_del_notification(svmdb_client_t *client, svmdb_notification_args_t *args)
void svmdb_unmap(svmdb_client_t *client)
void svmdb_local_unset_string_variable(svmdb_client_t *client, char *var)
void svmdb_local_unset_vec_variable(svmdb_client_t *client, char *var)
int svmdb_local_unserialize_strings(svmdb_client_t *client, char *filename)
void svmdb_local_dump_vecs(svmdb_client_t *client)
svmdb_notify_t * notifications
char * svmdb_local_get_string_variable(svmdb_client_t *client, char *var)
void svmdb_local_set_string_variable(svmdb_client_t *client, char *var, char *val)
void * svmdb_local_get_variable_reference(svmdb_client_t *client, svmdb_namespace_t ns, char *var)
int svmdb_local_serialize_strings(svmdb_client_t *client, char *filename)
svmdb_client_t * svmdb_map(svmdb_map_args_t *)
void * svmdb_local_find_or_add_vec_variable(svmdb_client_t *client, char *var, u32 nbytes)
void * svmdb_local_get_vec_variable(svmdb_client_t *client, char *var, u32 elsize)