diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-02-18 22:32:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-03-11 03:04:57 +0300 |
commit | dd742ed655c1d6344c8ca88f86f246200da32b04 (patch) | |
tree | ea0618ff45f0e45af32f8d57f5d11cc0a84a4cfd /src/common/socket.h | |
parent | ca315dcb6f8ba435beedc9c1a5bff12194bccc72 (diff) | |
download | hercules-dd742ed655c1d6344c8ca88f86f246200da32b04.tar.gz hercules-dd742ed655c1d6344c8ca88f86f246200da32b04.tar.bz2 hercules-dd742ed655c1d6344c8ca88f86f246200da32b04.tar.xz hercules-dd742ed655c1d6344c8ca88f86f246200da32b04.zip |
Add function connect_client into socket interface
Diffstat (limited to 'src/common/socket.h')
-rw-r--r-- | src/common/socket.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/socket.h b/src/common/socket.h index 5e4251989..01e919a89 100644 --- a/src/common/socket.h +++ b/src/common/socket.h @@ -212,6 +212,7 @@ struct socket_interface { /* */ void (*flush) (int fd); void (*flush_fifos) (void); + int (*connect_client) (int listen_fd); void (*set_nonblocking) (int fd, unsigned long yes); void (*set_defaultparse) (ParseFunc defaultparse); /* hostname/ip conversion functions */ |