pazpar2  1.14.1
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

◆ child_handler()

void child_handler ( void *  data)

Definition at line 50 of file pazpar2.c.

References config_destroy(), and config_process_events().

Referenced by sc_main().

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 274 of file pazpar2.c.

References sc_main(), and sc_stop().

◆ sc_main()

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

◆ sc_stop()

static void sc_stop ( yaz_sc_t  s)
static

Definition at line 269 of file pazpar2.c.

References config_stop_listeners(), and sc_stop_config.

Referenced by main().

◆ show_version()

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

◆ sc_stop_config

struct conf_config* sc_stop_config = 0
static

Definition at line 48 of file pazpar2.c.

Referenced by sc_main(), and sc_stop().