20#define SNF_MAXEVENTS 4096
This file includes necessary Checks and includes the the nesessary libraries of the library.
int snf_epoll_add(int FD)
Add's a file descriptor to be handled by epoll.
#define SNF_MAXEVENTS
Defines the epoll's limit.
Definition epoll.h:20
int SNF_NFDS
Describes the amount of file descriptors to be handled.
void snf_epoll_init()
Initializes the Epoll.
struct epoll_event SNF_EPOLL_EVENTS[SNF_MAXEVENTS]
Used to save the waiting Epoll Events
int SNF_EPOLLFD
Defines Epoll's file descriptor.
int snf_epoll_getList()
Fetches the awaiting Epoll Events
void snf_epoll_del(int fd)
removes a file descriptor from being handled by epoll
This file Defines everything related to networking.