* @brief Cleanup memory and other stuff.
*/
void srv_witness_cleanup(void);
-bool srv_witness_startup(struct WitnessServerState *state);
bool witness_init_cb(void *ptr);
bool witness_shutdown_cb(void *ptr);
uint32_t msg_type,
struct server_id server_id,
DATA_BLOB *data);
-bool witness_create_one_interface(TALLOC_CTX *mem_ctx,
- const char *group_name,
- uint32_t witness_version,
- uint32_t state,
- const char *ipv4,
- const char *ipv6,
- struct witness_interfaceInfo *i);
-bool witness_add_interface_to_array_unique(TALLOC_CTX *mem_ctx,
- struct witness_interfaceInfo interface,
- struct witness_interfaceInfo **array,
- uint32_t *count);
#endif /*_SRV_WITNESS_H_ */