summaryrefslogtreecommitdiffstats
path: root/include/fds.h
blob: 019d3f9b4abfa5965699d9d5a9fe85fd752c1fc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _FDS_H_
#define _FDS_H_

struct fds {
	int	maxfd;
	fd_set	readfds;
};

struct fds *create_fds(void);
void destroy_fds(struct fds *);
int register_fd(int fd, struct fds *fds);

#endif