X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/17b24ff30d5c84c489a9793e35b7497519a878b9..3cd12b568776fcee3284ca692ad25e4ddce93c95:/src/anet.h diff --git a/src/anet.h b/src/anet.h index 118b4dda..2b2dea45 100644 --- a/src/anet.h +++ b/src/anet.h @@ -53,5 +53,6 @@ int anetWrite(int fd, char *buf, int count); int anetNonBlock(char *err, int fd); int anetTcpNoDelay(char *err, int fd); int anetTcpKeepAlive(char *err, int fd); +int anetPeerToString(int fd, char *ip, int *port); #endif