Lines 6-18
Link Here
|
6 |
|
6 |
|
7 |
struct dsi_request |
7 |
struct dsi_request |
8 |
{ |
8 |
{ |
9 |
unsigned short requestid; |
9 |
unsigned short requestid; |
10 |
unsigned char subcommand; |
10 |
unsigned char subcommand; |
11 |
void * other; |
11 |
void * other; |
12 |
unsigned char wait; |
12 |
int wait; |
13 |
pthread_cond_t condition_cond; |
13 |
int done_waiting; |
14 |
struct dsi_request * next; |
14 |
pthread_cond_t waiting_cond; |
15 |
int return_code; |
15 |
pthread_mutex_t waiting_mutex; |
|
|
16 |
struct dsi_request * next; |
17 |
int return_code; |
16 |
}; |
18 |
}; |
17 |
|
19 |
|
18 |
int dsi_receive(struct afp_server * server, void * data, int size); |
20 |
int dsi_receive(struct afp_server * server, void * data, int size); |