]>
Commit | Line | Data |
---|---|---|
0fa91a0a | 1 | typedef struct _client { |
2 | OPERATION pending_op; | |
3 | CONNECTION con; | |
4 | int state; | |
5 | int action; | |
6 | sms_params args, reply; | |
7 | } client; | |
8 | ||
9 | /* | |
10 | * States | |
11 | */ | |
12 | ||
13 | #define CL_DEAD 0 | |
14 | #define CL_STARTING 1 | |
15 | ||
16 | /* | |
17 | * Actions. | |
18 | */ | |
19 | ||
20 | #define CL_ACCEPT 0 | |
21 | #define CL_RECEIVE 1 | |
22 | #define CL_SEND 2 | |
23 |