summaryrefslogtreecommitdiffstats
path: root/main/afpfs-ng/03-afpfs-ng-0.8.1-boxee1.patch
blob: 9f3c20f35e94a840f6d0565314558b177fbbbe80 (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
--- 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);