acl  3.5.3.0
fiber_hook.h 文件参考
#include "fiber_define.h"
+ fiber_hook.h 的引用(Include)关系图:
+ 此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

函数

FIBER_API socket_t acl_fiber_socket (int domain, int type, int protocol)
 
FIBER_API int acl_fiber_listen (socket_t, int backlog)
 
FIBER_API int acl_fiber_close (socket_t fd)
 
FIBER_API socket_t acl_fiber_accept (socket_t, struct sockaddr *, socklen_t *)
 
FIBER_API int acl_fiber_connect (socket_t, const struct sockaddr *, socklen_t)
 
FIBER_API ssize_t acl_fiber_read (socket_t, void *buf, size_t count)
 
FIBER_API ssize_t acl_fiber_readv (socket_t, const struct iovec *iov, int iovcnt)
 
FIBER_API ssize_t acl_fiber_recvmsg (socket_t, struct msghdr *msg, int flags)
 
FIBER_API ssize_t acl_fiber_write (socket_t, const void *buf, size_t count)
 
FIBER_API ssize_t acl_fiber_writev (socket_t, const struct iovec *iov, int iovcnt)
 
FIBER_API ssize_t acl_fiber_sendmsg (socket_t, const struct msghdr *msg, int flags)
 
FIBER_API ssize_t acl_fiber_recv (socket_t, void *buf, size_t len, int flags)
 
FIBER_API ssize_t acl_fiber_recvfrom (socket_t, void *buf, size_t len, int flags, struct sockaddr *src_addr, socklen_t *addrlen)
 
FIBER_API ssize_t acl_fiber_send (socket_t, const void *buf, size_t len, int flags)
 
FIBER_API ssize_t acl_fiber_sendto (socket_t, const void *buf, size_t len, int flags, const struct sockaddr *dest_addr, socklen_t addrlen)
 
FIBER_API int acl_fiber_select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout)
 
FIBER_API int acl_fiber_poll (struct pollfd *fds, nfds_t nfds, int timeout)
 
FIBER_API struct hostent * acl_fiber_gethostbyname (const char *name)
 
FIBER_API int acl_fiber_gethostbyname_r (const char *name, struct hostent *ent, char *buf, size_t buflen, struct hostent **result, int *h_errnop)
 
FIBER_API int acl_fiber_getaddrinfo (const char *node, const char *service, const struct addrinfo *hints, struct addrinfo **res)
 
FIBER_API void acl_fiber_freeaddrinfo (struct addrinfo *res)
 

函数说明

◆ acl_fiber_accept()

FIBER_API socket_t acl_fiber_accept ( socket_t  ,
struct sockaddr *  ,
socklen_t *   
)

◆ acl_fiber_close()

FIBER_API int acl_fiber_close ( socket_t  fd)

◆ acl_fiber_connect()

FIBER_API int acl_fiber_connect ( socket_t  ,
const struct sockaddr *  ,
socklen_t   
)

◆ acl_fiber_freeaddrinfo()

FIBER_API void acl_fiber_freeaddrinfo ( struct addrinfo *  res)

◆ acl_fiber_getaddrinfo()

FIBER_API int acl_fiber_getaddrinfo ( const char *  node,
const char *  service,
const struct addrinfo *  hints,
struct addrinfo **  res 
)

◆ acl_fiber_gethostbyname()

FIBER_API struct hostent* acl_fiber_gethostbyname ( const char *  name)

◆ acl_fiber_gethostbyname_r()

FIBER_API int acl_fiber_gethostbyname_r ( const char *  name,
struct hostent *  ent,
char *  buf,
size_t  buflen,
struct hostent **  result,
int *  h_errnop 
)

◆ acl_fiber_listen()

FIBER_API int acl_fiber_listen ( socket_t  ,
int  backlog 
)

◆ acl_fiber_poll()

FIBER_API int acl_fiber_poll ( struct pollfd *  fds,
nfds_t  nfds,
int  timeout 
)

◆ acl_fiber_read()

FIBER_API ssize_t acl_fiber_read ( socket_t  ,
void *  buf,
size_t  count 
)

◆ acl_fiber_readv()

FIBER_API ssize_t acl_fiber_readv ( socket_t  ,
const struct iovec *  iov,
int  iovcnt 
)

◆ acl_fiber_recv()

FIBER_API ssize_t acl_fiber_recv ( socket_t  ,
void *  buf,
size_t  len,
int  flags 
)

◆ acl_fiber_recvfrom()

FIBER_API ssize_t acl_fiber_recvfrom ( socket_t  ,
void *  buf,
size_t  len,
int  flags,
struct sockaddr *  src_addr,
socklen_t *  addrlen 
)

◆ acl_fiber_recvmsg()

FIBER_API ssize_t acl_fiber_recvmsg ( socket_t  ,
struct msghdr *  msg,
int  flags 
)

◆ acl_fiber_select()

FIBER_API int acl_fiber_select ( int  nfds,
fd_set *  readfds,
fd_set *  writefds,
fd_set *  exceptfds,
struct timeval *  timeout 
)

◆ acl_fiber_send()

FIBER_API ssize_t acl_fiber_send ( socket_t  ,
const void *  buf,
size_t  len,
int  flags 
)

◆ acl_fiber_sendmsg()

FIBER_API ssize_t acl_fiber_sendmsg ( socket_t  ,
const struct msghdr *  msg,
int  flags 
)

◆ acl_fiber_sendto()

FIBER_API ssize_t acl_fiber_sendto ( socket_t  ,
const void *  buf,
size_t  len,
int  flags,
const struct sockaddr *  dest_addr,
socklen_t  addrlen 
)

◆ acl_fiber_socket()

FIBER_API socket_t acl_fiber_socket ( int  domain,
int  type,
int  protocol 
)

◆ acl_fiber_write()

FIBER_API ssize_t acl_fiber_write ( socket_t  ,
const void *  buf,
size_t  count 
)

◆ acl_fiber_writev()

FIBER_API ssize_t acl_fiber_writev ( socket_t  ,
const struct iovec *  iov,
int  iovcnt 
)