xorriso  1.5.4.pl02
About: GNU xorriso creates, loads, manipulates and writes ISO 9660 filesystem images with Rock Ridge extensions. It is suitable for incremental data backup and for production of bootable ISO 9660 images. GNU xorriso is a statical compilation of the libraries libburn, libisofs, libisoburn, and libjte.
  Fossies Dox: xorriso-1.5.4.pl02.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

init.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BURN_ALLOC_MEM(pt, typ, count)
 
#define BURN_ALLOC_MEM_VOID(pt, typ, count)
 
#define BURN_FREE_MEM(pt)
 

Functions

int burn_init_catch_on_abort (int flag)
 
void * burn_alloc_mem (size_t size, size_t count, int flag)
 
int burn_grab_prepare_sig_action (int *signal_action_mem, int flag)
 
int burn_grab_restore_sig_action (int signal_action_mem, int flag)
 

Variables

int burn_running
 
double lib_start_time
 
volatile int burn_global_abort_level
 
int burn_global_abort_signum
 
void * burn_global_signal_handle
 
burn_abort_handler_t burn_global_signal_handler
 
int burn_builtin_signal_action
 
volatile int burn_builtin_triggered_action
 

Macro Definition Documentation

◆ BURN_ALLOC_MEM

#define BURN_ALLOC_MEM (   pt,
  typ,
  count 
)
Value:
{ \
pt= (typ *) burn_alloc_mem(sizeof(typ), (size_t) (count), 0); \
if(pt == NULL) { \
ret= -1; goto ex; \
} }
void * burn_alloc_mem(size_t size, size_t count, int flag)
Definition: init.c:653

Definition at line 40 of file init.h.

◆ BURN_ALLOC_MEM_VOID

#define BURN_ALLOC_MEM_VOID (   pt,
  typ,
  count 
)
Value:
{ \
pt= (typ *) burn_alloc_mem(sizeof(typ), (size_t) (count), 0); \
if(pt == NULL) { \
goto ex; \
} }

Definition at line 46 of file init.h.

◆ BURN_FREE_MEM

#define BURN_FREE_MEM (   pt)
Value:
{ \
if(pt != NULL) \
free((char *) pt); \
}

Definition at line 52 of file init.h.

Function Documentation

◆ burn_alloc_mem()

void* burn_alloc_mem ( size_t  size,
size_t  count,
int  flag 
)

◆ burn_grab_prepare_sig_action()

int burn_grab_prepare_sig_action ( int *  signal_action_mem,
int  flag 
)

◆ burn_grab_restore_sig_action()

int burn_grab_restore_sig_action ( int  signal_action_mem,
int  flag 
)

◆ burn_init_catch_on_abort()

int burn_init_catch_on_abort ( int  flag)

Variable Documentation

◆ burn_builtin_signal_action

int burn_builtin_signal_action
extern

◆ burn_builtin_triggered_action

volatile int burn_builtin_triggered_action
extern

◆ burn_global_abort_level

volatile int burn_global_abort_level
extern

Indicator for burn_drive_get_status() whether a signal hit parts of the thread team. 0= all works well , 1 to 5 = waiting for eventual signal on control thread

5 = do abort now

-1 = control thread has been informed

Definition at line 93 of file init.c.

Referenced by burn_abort_exit(), and burn_builtin_abort_handler().

◆ burn_global_abort_signum

int burn_global_abort_signum
extern

Definition at line 94 of file init.c.

Referenced by burn_builtin_abort_handler().

◆ burn_global_signal_handle

void* burn_global_signal_handle
extern

Definition at line 95 of file init.c.

Referenced by burn_set_signal_handling().

◆ burn_global_signal_handler

burn_abort_handler_t burn_global_signal_handler
extern

◆ burn_running

int burn_running
extern

◆ lib_start_time

double lib_start_time
extern

Definition at line 47 of file init.c.

Referenced by burn_initialize(), and scsi_log_reply().