* conn->outbuf. Connections differ primarily in the functions called
* to fill and drain these buffers.
*/
-typedef struct connection_t {
+struct connection_t {
uint32_t magic; /**< For memory debugging: must equal one of
* *_CONNECTION_MAGIC. */
/** Bytes written since last call to control_event_conn_bandwidth_used().
* Only used if we're configured to emit CONN_BW events. */
uint32_t n_written_conn_bw;
-} connection_t;
+};
#endif
-
/** Represents information about a single trusted or fallback directory
* server. */
-typedef struct dir_server_t {
+struct dir_server_t {
char *description;
char *nickname;
char *address; /**< Hostname. */
* as a routerstatus_t. Not updated by the
* router-status management code!
**/
-} dir_server_t;
+};
#endif
-
#define NETWORKSTATUS_VOTER_INFO_ST_H
/** Information about a single voter in a vote or a consensus. */
-typedef struct networkstatus_voter_info_t {
+struct networkstatus_voter_info_t {
/** Declared SHA-1 digest of this voter's identity key */
char identity_digest[DIGEST_LEN];
char *nickname; /**< Nickname of this voter */
/* Nothing from here on is signed. */
/** The signature of the document and the signature's status. */
smartlist_t *sigs;
-} networkstatus_voter_info_t;
+};
#endif
-