diff options
Diffstat (limited to 'src/fuse/connection.h')
-rw-r--r-- | src/fuse/connection.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fuse/connection.h b/src/fuse/connection.h index c04d75b..ceb5050 100644 --- a/src/fuse/connection.h +++ b/src/fuse/connection.h @@ -12,7 +12,9 @@ #define NO_SPLICE 0 #define SPLICE 1 +extern volatile bool keepRunning; struct _dnbd3_async; +extern pthread_mutex_t mutexInit; typedef struct _dnbd3_async { struct _dnbd3_async *next; // Next in this linked list (provate field, not set by caller) @@ -21,7 +23,7 @@ typedef struct _dnbd3_async { uint64_t offset; uint32_t length; int mode; // 0 splice off, 1 splice on, ... - fuse_req_t *fuse_req; + fuse_req_t fuse_req; } dnbd3_async_t; bool connection_init(const char *hosts, const char *image, const uint16_t rid, const bool learnNewServers); |