Stackdb
Stackdb is a stackable, multi-target and -level source debugger and memory forensics library.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
evloop.c File Reference
#include "evloop.h"
#include "log.h"
#include <stdlib.h>
#include <glib.h>
#include <sys/select.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include <inttypes.h>
#include <errno.h>
#include <string.h>
#include <assert.h>
Include dependency graph for evloop.c:

Go to the source code of this file.

Functions

struct evloopevloop_create (evloop_error_handler_t ehandler)
 
int evloop_set_fd (struct evloop *evloop, int fd, int fdtype, evloop_handler_t handler, void *state)
 
int evloop_unset_fd (struct evloop *evloop, int fd, int fdtype)
 
int evloop_maxsize (struct evloop *evloop)
 
int evloop_run (struct evloop *evloop, evloop_flags_t flags, struct timeval *timeout, struct evloop_fdinfo **error_fdinfo)
 
int evloop_handleone (struct evloop *evloop, evloop_flags_t flags, struct timeval *timeout, struct evloop_fdinfo **handled_fdinfo, int *handled_fdtype, int *handled_hrc)
 
void evloop_free (struct evloop *evloop)
 

Function Documentation

struct evloop* evloop_create ( evloop_error_handler_t  ehandler)

Definition at line 33 of file evloop.c.

void evloop_free ( struct evloop evloop)

Definition at line 652 of file evloop.c.

int evloop_handleone ( struct evloop evloop,
evloop_flags_t  flags,
struct timeval *  timeout,
struct evloop_fdinfo **  handled_fdinfo,
int *  handled_fdtype,
int *  handled_hrc 
)

Definition at line 434 of file evloop.c.

int evloop_maxsize ( struct evloop evloop)

Definition at line 191 of file evloop.c.

int evloop_run ( struct evloop evloop,
evloop_flags_t  flags,
struct timeval *  timeout,
struct evloop_fdinfo **  error_fdinfo 
)

Definition at line 195 of file evloop.c.

int evloop_set_fd ( struct evloop evloop,
int  fd,
int  fdtype,
evloop_handler_t  handler,
void *  state 
)

Definition at line 48 of file evloop.c.

int evloop_unset_fd ( struct evloop evloop,
int  fd,
int  fdtype 
)

Definition at line 165 of file evloop.c.