tor  0.4.2.1-alpha-dev
Functions
structvar.h File Reference
#include <stdbool.h>
#include "lib/cc/torint.h"

Go to the source code of this file.

Functions

void struct_set_magic (void *object, const struct struct_magic_decl_t *decl)
 
void struct_check_magic (const void *object, const struct struct_magic_decl_t *decl)
 
void * struct_get_mptr (void *object, const struct struct_member_t *member)
 
const void * struct_get_ptr (const void *object, const struct struct_member_t *member)
 
void struct_var_free (void *object, const struct struct_member_t *member)
 
int struct_var_copy (void *dest, const void *src, const struct struct_member_t *member)
 
bool struct_var_eq (const void *a, const void *b, const struct struct_member_t *member)
 
bool struct_var_ok (const void *object, const struct struct_member_t *member)
 
void struct_var_mark_fragile (void *object, const struct struct_member_t *member)
 
const char * struct_var_get_name (const struct struct_member_t *member)
 
const char * struct_var_get_typename (const struct struct_member_t *member)
 
uint32_t struct_var_get_flags (const struct struct_member_t *member)
 
int struct_var_kvassign (void *object, const struct config_line_t *line, char **errmsg, const struct struct_member_t *member)
 
struct config_line_tstruct_var_kvencode (const void *object, const struct struct_member_t *member)
 

Detailed Description

Header for lib/confmgt/structvar.c.

Definition in file structvar.h.