1 #ifndef CONNECT_REQUEST_H
2 #define CONNECT_REQUEST_H
7 #include <sys/socket.h> /* sockaddr */
9 #include "socket_request.h" /* HandlerCallback */
11 ConnectRequest
*new_ConnectRequest(core_t
*c
, HandlerCallback callback
, int fd
, const struct sockaddr
*addr
, socklen_t addr_len
);
12 void free_ConnectRequest(ConnectRequest
*cr
);
14 void ConnectRequest_queue(ConnectRequest
*cr
);
16 int ConnectRequest_getFd(ConnectRequest
*cr
);