flexnbd: Split the proxy mode out into its own binary.
"flexnbd-proxy ..." should be identical in operation to "flexnbd proxy ..."
This commit is contained in:
@@ -55,10 +55,13 @@ struct proxier {
|
||||
|
||||
/* We transform the raw reply header into here */
|
||||
struct nbd_reply rsp_hdr;
|
||||
|
||||
/* File descriptor that signal handlers write to */
|
||||
int signal_fd;
|
||||
};
|
||||
|
||||
struct proxier* proxy_create(
|
||||
struct flexnbd * flexnbd,
|
||||
int signal_fd,
|
||||
char* s_downstream_address,
|
||||
char* s_downstream_port,
|
||||
char* s_upstream_address,
|
||||
|
Reference in New Issue
Block a user