Tor 0.4.9.0-alpha-dev
Functions | Variables
torerr_sys.c File Reference

Subsystem object for the error handling subsystem. More...

#include "orconfig.h"
#include "lib/err/backtrace.h"
#include "lib/err/torerr.h"
#include "lib/err/torerr_sys.h"
#include "lib/subsys/subsys.h"
#include "lib/version/torversion.h"
#include <stddef.h>

Go to the source code of this file.

Functions

static int subsys_torerr_initialize (void)
 
static void subsys_torerr_shutdown (void)
 

Variables

const subsys_fns_t sys_torerr
 

Detailed Description

Subsystem object for the error handling subsystem.

Definition in file torerr_sys.c.

Function Documentation

◆ subsys_torerr_initialize()

static int subsys_torerr_initialize ( void  )
static

Definition at line 19 of file torerr_sys.c.

◆ subsys_torerr_shutdown()

static void subsys_torerr_shutdown ( void  )
static

Definition at line 28 of file torerr_sys.c.

Variable Documentation

◆ sys_torerr

const subsys_fns_t sys_torerr
Initial value:
= {
.name = "err",
.level = -99,
.supported = true,
.initialize = subsys_torerr_initialize,
.shutdown = subsys_torerr_shutdown
}
#define SUBSYS_DECLARE_LOCATION()
Definition: subsys.h:211

Definition at line 35 of file torerr_sys.c.