Files
oceanbase/deps/ussl-hook/loop/pipefd.h
obdev d6c6e05727 [FEAT MERGE] log4200
Co-authored-by: zhjc1124 <zhjc1124@gmail.com>
Co-authored-by: BinChenn <binchenn.bc@gmail.com>
Co-authored-by: oceanoverflow <oceanoverflow@gmail.com>
2023-05-06 08:15:43 +00:00

14 lines
343 B
C

#ifndef USSL_HOOK_LOOP_PIPEFD_
#define USSL_HOOK_LOOP_PIPEFD_
typedef struct pipefd_t
{
USSL_SOCK_COMMON;
// when pipefd is readable, it needs to add new events(i.e. call epoll_ctl) via ep->fd
ussl_eloop_t *ep;
} pipefd_t;
extern int pipefd_init(ussl_eloop_t *ep, pipefd_t *s, ussl_sf_t *sf, int fd);
#endif // USSL_HOOK_LOOP_PIPEFD_