Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main: fd_listen fhs alloc rewrite #805

Merged
merged 14 commits into from
Sep 18, 2023
7 changes: 4 additions & 3 deletions include/re_main.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include "re_async.h"

struct re;
struct re_fhs;

enum {
#ifndef FD_READ
Expand Down Expand Up @@ -35,10 +36,10 @@ typedef void (fd_h)(int flags, void *arg);
typedef void (re_signal_h)(int sig);


int fd_listen(re_sock_t fd, int flags, fd_h *fh, void *arg);
void fd_close(re_sock_t fd);
int fd_listen(struct re_fhs **fhs, re_sock_t fd, int flags, fd_h *fh,
void *arg);
sreimers marked this conversation as resolved.
Show resolved Hide resolved
struct re_fhs *fd_close(struct re_fhs *fhs);
int fd_setsize(int maxfds);
void fd_debug(void);

int libre_init(void);
void libre_close(void);
Expand Down
Loading