blob: 33c559bf50e06db93af3446429d918576928349f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#ifndef INCLUDED_BASE_DECLS_H
#define INCLUDED_BASE_DECLS_H
#include "first.h"
struct server;
typedef struct server server;
struct connection;
typedef struct connection connection;
union sock_addr;
typedef union sock_addr sock_addr;
enum handler_t {
HANDLER_UNSET,
HANDLER_GO_ON,
HANDLER_FINISHED,
HANDLER_COMEBACK,
HANDLER_WAIT_FOR_EVENT,
HANDLER_ERROR,
HANDLER_WAIT_FOR_FD
};
typedef enum handler_t handler_t;
#define BV(x) (1 << x)
#endif
|