YAZ  5.23.1
Functions | Variables
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 iochan_create ( int  fd,
IOC_CALLBACK  cb,
int  flags,
int  chan_id 
)
int iochan_event_loop ( IOCHAN iochans,
int *  watch_sig 
)
int iochan_is_alive ( IOCHAN  chan)

Variable Documentation

int log_level =0
static

Definition at line 39 of file eventl.c.

Referenced by iochan_create(), iochan_event_loop(), yaz_log_xml_errors(), and yaz_mutex_set_name().

int log_level_initialized =0
static

Definition at line 40 of file eventl.c.

Referenced by initlog(), and iochan_create().