rpm  4.15.1
Macros | Typedefs | Functions
rpmsq.h File Reference
#include <rpm/rpmsw.h>
#include <signal.h>
Include dependency graph for rpmsq.h:

Go to the source code of this file.

Macros

#define RPMSQ_DFL   ((rpmsqAction_t)0)
 
#define RPMSQ_IGN   ((rpmsqAction_t)1)
 
#define RPMSQ_ERR   ((rpmsqAction_t)-1)
 

Typedefs

typedef void(* rpmsqAction_t) (int signum, siginfo_t *info, void *context)
 

Functions

int rpmsqIsCaught (int signum)
 
int rpmsqActivate (int state)
 
rpmsqAction_t rpmsqSetAction (int signum, rpmsqAction_t handler)
 
int rpmsqBlock (int op)
 
int rpmsqPoll (void)
 
void rpmsqSetInterruptSafety (int on)
 

Detailed Description

Signal Queue API

Definition in file rpmsq.h.

Macro Definition Documentation

◆ RPMSQ_ERR

#define RPMSQ_ERR   ((rpmsqAction_t)-1)

Definition at line 29 of file rpmsq.h.

◆ RPMSQ_IGN

#define RPMSQ_IGN   ((rpmsqAction_t)1)

Definition at line 28 of file rpmsq.h.

Function Documentation

◆ rpmsqSetInterruptSafety()

void rpmsqSetInterruptSafety ( int  on)