diff options
Diffstat (limited to 'inc/handlers.h')
-rw-r--r-- | inc/handlers.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/inc/handlers.h b/inc/handlers.h index 9f1988f..5aa0733 100644 --- a/inc/handlers.h +++ b/inc/handlers.h @@ -7,11 +7,15 @@ typedef struct { char path[768]; char mode[32]; + int err; struct sockaddr_in client; } nbd_nbtpd_args; -void read_req_resp(nbd_nbtpd_args args); -void write_req_resp(nbd_nbtpd_args args); -void nbd_nbtpd_resp_error(nbd_nbtpd_args args); +/// WARNING: use this only if you know what you are doing +void *read_req_resp(void *args); +/// WARNING: use this only if you know what you are doing +void *write_req_resp(void *args); +/// WARNING: use this only if you know what you are doing +void *nbd_nbtpd_resp_error(void *args); #endif |