Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
bb207007
Commit
bb207007
authored
Jan 10, 2014
by
antirez
Browse files
anetResolveIP() prototype added to anet.h.
parent
b7dc3204
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/anet.h
View file @
bb207007
...
...
@@ -49,6 +49,7 @@ int anetUnixConnect(char *err, char *path);
int
anetUnixNonBlockConnect
(
char
*
err
,
char
*
path
);
int
anetRead
(
int
fd
,
char
*
buf
,
int
count
);
int
anetResolve
(
char
*
err
,
char
*
host
,
char
*
ipbuf
,
size_t
ipbuf_len
);
int
anetResolveIP
(
char
*
err
,
char
*
host
,
char
*
ipbuf
,
size_t
ipbuf_len
);
int
anetTcpServer
(
char
*
err
,
int
port
,
char
*
bindaddr
);
int
anetTcp6Server
(
char
*
err
,
int
port
,
char
*
bindaddr
);
int
anetUnixServer
(
char
*
err
,
char
*
path
,
mode_t
perm
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment