|
Tor 0.4.9.8
|
Compact node-family structure. More...
#include "orconfig.h"#include "ht.h"Go to the source code of this file.
Data Structures | |
| struct | nodefamily_t |
Macros | |
| #define | NODEFAMILY_MEMBER_LEN (1+DIGEST_LEN) |
| #define | NODEFAMILY_BY_RSA_ID 0 |
| #define | NODEFAMILY_BY_NICKNAME 1 |
| #define | NODEFAMILY_ARRAY_SIZE(n) |
| #define | NODEFAMILY_MEMBER_PTR(nf, i) |
Compact node-family structure.
Definition in file nodefamily_st.h.
| #define NODEFAMILY_ARRAY_SIZE | ( | n | ) |
Number of bytes to allocate in the array for a nodefamily_t with N members.
Definition at line 44 of file nodefamily_st.h.
Referenced by nodefamily_alloc(), nodefamily_eq(), and nodefamily_hash().
| #define NODEFAMILY_BY_NICKNAME 1 |
Tag byte, indicates that the following bytes are a NUL-padded nickname.
Definition at line 39 of file nodefamily_st.h.
Referenced by nodefamily_add_nodes_to_smartlist(), nodefamily_contains_nickname(), nodefamily_format(), and nodefamily_from_members().
| #define NODEFAMILY_BY_RSA_ID 0 |
Tag byte, indicates that the following bytes are a RSA1024 SHA1 ID.
Definition at line 36 of file nodefamily_st.h.
Referenced by nodefamily_add_nodes_to_smartlist(), nodefamily_contains_rsa_id(), nodefamily_format(), and nodefamily_from_members().
| #define NODEFAMILY_MEMBER_LEN (1+DIGEST_LEN) |
Definition at line 32 of file nodefamily_st.h.
| #define NODEFAMILY_MEMBER_PTR | ( | nf, | |
| i ) |
Pointer to the i'th member of nf, as encoded.
Definition at line 50 of file nodefamily_st.h.
Referenced by nodefamily_add_nodes_to_smartlist(), nodefamily_contains_nickname(), nodefamily_contains_rsa_id(), nodefamily_format(), and nodefamily_from_members().