WapiHandleRequestType_New,
WapiHandleRequestType_Open,
WapiHandleRequestType_Close,
WapiHandleRequestType_Scratch,
WapiHandleRequestType_ScratchFree,
WapiHandleRequestType_ProcessFork,
WapiHandleRequestType_New,
WapiHandleRequestType_Open,
WapiHandleRequestType_Close,
WapiHandleRequestType_Scratch,
WapiHandleRequestType_ScratchFree,
WapiHandleRequestType_ProcessFork,
WapiHandleRequest_Scratch scratch;
WapiHandleRequest_ScratchFree scratch_free;
WapiHandleRequest_ProcessFork process_fork;
WapiHandleRequest_Scratch scratch;
WapiHandleRequest_ScratchFree scratch_free;
WapiHandleRequest_ProcessFork process_fork;
WapiHandleResponseType_Scratch,
WapiHandleResponseType_ScratchFree,
WapiHandleResponseType_ProcessFork,
WapiHandleResponseType_Scratch,
WapiHandleResponseType_ScratchFree,
WapiHandleResponseType_ProcessFork,
WapiHandleResponse_Scratch scratch;
WapiHandleResponse_ScratchFree scratch_free;
WapiHandleResponse_ProcessFork process_fork;
WapiHandleResponse_Scratch scratch;
WapiHandleResponse_ScratchFree scratch_free;
WapiHandleResponse_ProcessFork process_fork;
} u;
} WapiHandleResponse;
extern void _wapi_daemon_request_response (int fd, WapiHandleRequest *req,
WapiHandleResponse *resp);
} u;
} WapiHandleResponse;
extern void _wapi_daemon_request_response (int fd, WapiHandleRequest *req,
WapiHandleResponse *resp);
-extern void _wapi_daemon_request (int fd, WapiHandleRequest *req);
-extern void _wapi_daemon_response (int fd, WapiHandleResponse *resp);
+extern void _wapi_daemon_request_response_with_fds (int fd,
+ WapiHandleRequest *req,
+ WapiHandleResponse *resp,
+ int in_fd, int out_fd,
+ int err_fd);
+extern int _wapi_daemon_request (int fd, WapiHandleRequest *req, int *fds,
+ gboolean *has_fds);
+extern int _wapi_daemon_response (int fd, WapiHandleResponse *resp);