mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2025-10-05 21:59:27 +00:00
Document callback type in man page for ares_set_socket_callback
This commit is contained in:
@ -6,6 +6,10 @@ ares_set_socket_callback \- Set a socket creation callback
|
||||
.nf
|
||||
.B #include <ares.h>
|
||||
.PP
|
||||
.B typedef int (*ares_sock_create_callback)(ares_socket_t \fIsocket_fd\fP,
|
||||
int \fItype\fP,
|
||||
void *\fIuserdata\fP)
|
||||
.PP
|
||||
.B void ares_set_socket_callback(ares_channel \fIchannel\fP,
|
||||
ares_sock_create_callback \fIcallback\fP,
|
||||
void *\fIuserdata\fP)
|
||||
|
Reference in New Issue
Block a user