summaryrefslogtreecommitdiff
path: root/netcon/Intercept.h
diff options
context:
space:
mode:
authorJoseph Henry <joseph.henry@gmail.com>2015-10-27 17:12:32 -0700
committerJoseph Henry <joseph.henry@gmail.com>2015-10-27 17:12:32 -0700
commit721d58b464e5fa612b4f7cb4e91b9dca629e69a9 (patch)
tree80602a231fefd3fea79ce5ff1c9a5f3bf5ffd10e /netcon/Intercept.h
parent8cfee8a38c5d45242a52eb2f03a8aba97ed51a3e (diff)
downloadinfinitytier-721d58b464e5fa612b4f7cb4e91b9dca629e69a9.tar.gz
infinitytier-721d58b464e5fa612b4f7cb4e91b9dca629e69a9.zip
Added support for Redis
Diffstat (limited to 'netcon/Intercept.h')
-rwxr-xr-xnetcon/Intercept.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/netcon/Intercept.h b/netcon/Intercept.h
index 9b9d5a97..6f1888a8 100755
--- a/netcon/Intercept.h
+++ b/netcon/Intercept.h
@@ -50,7 +50,7 @@
#define RPC_SHUTDOWN 12
/* Administration RPC codes */
-#define RPC_FD_MAP_COMPLETION 20 // Give the service the value we "see" for the new buffer fd
+#define RPC_MAP 20 // Give the service the value we "see" for the new buffer fd
#define RPC_RETVAL 21 // not RPC per se, but something we should codify
#define RPC_KILL_INTERCEPT 22 // Tells the service we need to shut down all connections
@@ -173,5 +173,7 @@ struct shutdown_st
#define SETSOCKOPT_SIG int socket, int level, int option_name, const void *option_value, socklen_t option_len
#define GETSOCKOPT_SIG int sockfd, int level, int optname, void *optval, socklen_t *optlen
#define SYSCALL_SIG long number, ...
+#define CLONE_SIG int (*fn)(void *), void *child_stack, int flags, void *arg, ...
+#define POLL_SIG struct pollfd *fds, nfds_t nfds, int timeout
#endif