pazpar2  1.13.0
Functions | Variables
pazpar2.c File Reference
#include <signal.h>
#include <assert.h>
#include "parameters.h"
#include "session.h"
#include "ppmutex.h"
#include <yaz/daemon.h>
#include <yaz/log.h>
#include <yaz/options.h>
#include <yaz/sc.h>
#include <yaz/backtrace.h>

Go to the source code of this file.

Functions

void child_handler (void *data)
 
static void show_version (void)
 
static int sc_main (yaz_sc_t s, int argc, char **argv)
 
static void sc_stop (yaz_sc_t s)
 
int main (int argc, char **argv)
 

Variables

static struct conf_configsc_stop_config = 0
 

Function Documentation

void child_handler ( void *  data)

Definition at line 50 of file pazpar2.c.

References config_destroy(), and config_process_events().

Referenced by sc_main().

int main ( int  argc,
char **  argv 
)

Definition at line 274 of file pazpar2.c.

References sc_main(), and sc_stop().

static int sc_main ( yaz_sc_t  s,
int  argc,
char **  argv 
)
static
static void sc_stop ( yaz_sc_t  s)
static

Definition at line 269 of file pazpar2.c.

References config_stop_listeners().

Referenced by main().

static void show_version ( void  )
static

Definition at line 59 of file pazpar2.c.

References PACKAGE_VERSION, and PAZPAR2_VERSION_SHA1.

Referenced by sc_main().

Variable Documentation

struct conf_config* sc_stop_config = 0
static

Definition at line 48 of file pazpar2.c.