File libsrc/inthand.c


Included Files


Local Variables

been_signalled
static int been_signalled
Used in: check_signalling()  
  myint_handler()  

my_sigaction1
static struct sigaction my_sigaction1

Used in: init_signalling()  

my_sigaction2
static struct sigaction my_sigaction2

Used in: init_signalling()  

my_sigaction3
static struct sigaction my_sigaction3

Used in: init_signalling()  

my_sigaction4
static struct sigaction my_sigaction4

Used in: init_signalling()  

my_sigaction5
static struct sigaction my_sigaction5

Used in: init_signalling()  

set_sysint
static int set_sysint

Used in: allow_sysint()  
  deny_sysint()  

save_sigaction1
static struct sigaction save_sigaction1

Used in: allow_sysint()  
  deny_sysint()  

save_sigaction2
static struct sigaction save_sigaction2

Used in: allow_sysint()  
  deny_sysint()  

save_sigaction3
static struct sigaction save_sigaction3

Used in: allow_sysint()  
  deny_sysint()  

save_sigaction4
static struct sigaction save_sigaction4

Used in: allow_sysint()  
  deny_sysint()  

save_sigaction5
static struct sigaction save_sigaction5

Used in: allow_sysint()  
  deny_sysint()  

Global Function allow_sysint()

int allow_sysint ( void )
Prototyped in: mplib1/daemon.h
Calls: allow_thisint() libsrc/inthand.c
Called by: mp_daemon_sleep() libsrc/daemonsleep.c
References Variables: save_sigaction1 libsrc/inthand.c
  save_sigaction2 libsrc/inthand.c
  save_sigaction3 libsrc/inthand.c
  save_sigaction4 libsrc/inthand.c
  save_sigaction5 libsrc/inthand.c
  set_sysint libsrc/inthand.c

Global Function check_signalling()

int check_signalling ( void )
Prototyped in: mplib1/daemon.h
Called by: mp_daemon_loop() libsrc/daemonloop.c
References Variables: been_signalled libsrc/inthand.c

Global Function deny_sysint()

int deny_sysint ( void )
Prototyped in: mplib1/daemon.h
Calls: sigaction()
Called by: mp_daemon_sleep() libsrc/daemonsleep.c
References Variables: save_sigaction1 libsrc/inthand.c
  save_sigaction2 libsrc/inthand.c
  save_sigaction3 libsrc/inthand.c
  save_sigaction4 libsrc/inthand.c
  save_sigaction5 libsrc/inthand.c
  set_sysint libsrc/inthand.c

Global Function init_signalling()

int init_signalling ( void )
Prototyped in: mplib1/daemon.h
Calls: set_thisint() libsrc/inthand.c
  signal()
References Variables: my_sigaction1 libsrc/inthand.c
  my_sigaction2 libsrc/inthand.c
  my_sigaction3 libsrc/inthand.c
  my_sigaction4 libsrc/inthand.c
  my_sigaction5 libsrc/inthand.c

Local Function allow_thisint()

static void allow_thisint ( int this_sig, struct sigaction* sigactp )
Calls: memcpy(), sigaction()
Called by: allow_sysint() libsrc/inthand.c

Local Function myint_handler()

static void myint_handler ( int sig )
Used in: set_thisint() libsrc/inthand.c
References Variables: been_signalled libsrc/inthand.c

Local Function set_thisint()

static void set_thisint ( int this_sig, struct sigaction* sigactp )
Calls: memset(), sigaction()
Called by: init_signalling() libsrc/inthand.c
References Functions: myint_handler() libsrc/inthand.c