12 #ifndef TOR_NODEFAMILY_H
13 #define TOR_NODEFAMILY_H
22 #define NF_WARN_MALFORMED (1u<<0)
23 #define NF_REJECT_MALFORMED (1u<<1)
26 const uint8_t *rsa_id_self,
29 const uint8_t *rsa_id_self,
33 #define nodefamily_free(family) \
34 FREE_AND_NULL(nodefamily_t, nodefamily_free_, (family))
37 const uint8_t *rsa_id);
41 const struct node_t *node);
Headers for util_malloc.c.
bool nodefamily_contains_node(const nodefamily_t *family, const node_t *node)
nodefamily_t * nodefamily_from_members(const smartlist_t *members, const uint8_t *rsa_id_self, unsigned flags, smartlist_t *unrecognized_out)
void nodefamily_add_nodes_to_smartlist(const nodefamily_t *family, struct smartlist_t *out)
bool nodefamily_contains_nickname(const nodefamily_t *family, const char *name)
void nodefamily_free_(nodefamily_t *family)
char * nodefamily_canonicalize(const char *s, const uint8_t *rsa_id_self, unsigned flags)
bool nodefamily_contains_rsa_id(const nodefamily_t *family, const uint8_t *rsa_id)
void nodefamily_free_all(void)
char * nodefamily_format(const nodefamily_t *family)