YAZ 5.37.0
eventl.c File Reference

Implements event loop handling for GFS. More...

#include <assert.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <yaz/poll.h>
#include <yaz/log.h>
#include <yaz/comstack.h>
#include <yaz/xmalloc.h>
#include "eventl.h"
#include "session.h"
#include <yaz/statserv.h>

Go to the source code of this file.

Functions

IOCHAN iochan_create (int fd, IOC_CALLBACK cb, int flags, int chan_id)
int iochan_is_alive (IOCHAN chan)
int iochan_event_loop (IOCHAN *iochans, int *watch_sig)

Variables

static int log_level =0
static int log_level_initialized =0

Detailed Description

Implements event loop handling for GFS.

This source implements the main event loop for the Generic Frontend Server.

Definition in file eventl.c.

Function Documentation

◆ iochan_create()

◆ iochan_event_loop()

◆ iochan_is_alive()

int iochan_is_alive ( IOCHAN chan)

Variable Documentation

◆ log_level

◆ log_level_initialized

int log_level_initialized =0
static