34 #ifndef WIRE_LISTENER_H
35 #define WIRE_LISTENER_H
40 #include <arpa/inet.h>
42 #include <netinet/in.h>
47 #include <sys/types.h>
48 #include <sys/param.h>
49 #include <sys/select.h>
50 #include <sys/socket.h>
53 #define DNS_PORT_STRING "53"
54 #define INBUF_SIZE 4096
55 #define MAX_INTERFACES 32
void listener_cleanup(listener_type *listener)
void listener_log(listener_type *listener)
listener_type * listener_create(allocator_type *allocator)
interface_type * listener_push(listener_type *list, char *address, int family, char *port)
interface_type * interfaces
void listener_print(FILE *fd, listener_type *listener)
union acl_addr_storage addr
allocator_type * allocator
void interface_cleanup(interface_type *i)