1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/afpfs-ng/03-afpfs-ng-0.8.1-boxee1.patch
Natanael Copa a038dbd787 community/afpfs-ng: move from main
only kodi needs it
2015-10-07 15:43:45 +02:00

25 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);