summaryrefslogtreecommitdiff
path: root/src/common/socket.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-03-11 03:48:54 +0100
committerGitHub <noreply@github.com>2019-03-11 03:48:54 +0100
commit23b515f67f912078268767ec2d28b65711d39b2f (patch)
treeca7ef86914fd19a7fba137feb8daf668d6411b63 /src/common/socket.h
parentc2bf96805ea5fdbd8d88bb1ddaf9f0e47a24fd08 (diff)
parent63062f9ddbc2c2a2384bfbbd496fc0572318a9e0 (diff)
downloadhercules-23b515f67f912078268767ec2d28b65711d39b2f.tar.gz
hercules-23b515f67f912078268767ec2d28b65711d39b2f.tar.bz2
hercules-23b515f67f912078268767ec2d28b65711d39b2f.tar.xz
hercules-23b515f67f912078268767ec2d28b65711d39b2f.zip
Merge pull request #2378 from 4144/interfaces
Different interfaces fixes
Diffstat (limited to 'src/common/socket.h')
-rw-r--r--src/common/socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/socket.h b/src/common/socket.h
index 5e4251989..193b22645 100644
--- a/src/common/socket.h
+++ b/src/common/socket.h
@@ -178,6 +178,7 @@ struct socket_interface {
time_t stall_time;
time_t last_tick;
+ const char *SOCKET_CONF_FILENAME;
/* */
uint32 addr_[16]; // ip addresses of local host (host byte order)
int naddr_; // # of ip addresses
@@ -212,6 +213,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 */