mirror of
https://github.com/mabam/afpfs-ng-mac.git
synced 2024-09-29 11:54:49 +00:00
26 lines
730 B
Diff
26 lines
730 B
Diff
--- afpfs-ng-0.8.1/include/afpfs-ng/dsi.h 2008-02-18 04:33:24.000000000 +0100
|
|
+++ afpfs-ng-0.8.1/include/afpfs-ng/dsi.h 2011-08-26 21:33:33.000000000 +0200
|
|
@@ -6,13 +6,15 @@
|
|
|
|
struct dsi_request
|
|
{
|
|
- unsigned short requestid;
|
|
- unsigned char subcommand;
|
|
- void * other;
|
|
- unsigned char wait;
|
|
- pthread_cond_t condition_cond;
|
|
- struct dsi_request * next;
|
|
- int return_code;
|
|
+ unsigned short requestid;
|
|
+ unsigned char subcommand;
|
|
+ void * other;
|
|
+ int wait;
|
|
+ int done_waiting;
|
|
+ pthread_cond_t waiting_cond;
|
|
+ pthread_mutex_t waiting_mutex;
|
|
+ struct dsi_request * next;
|
|
+ int return_code;
|
|
};
|
|
|
|
int dsi_receive(struct afp_server * server, void * data, int size);
|