The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Loading...
Searching...
No Matches
Macros | Enumerations
signal.h File Reference

Signals that can be sent to a request. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define fr_signal_is_cancel(_signal)   (_signal & FR_SIGNAL_CANCEL)
 
#define fr_signal_is_detach(_signal)   (_signal & FR_SIGNAL_DETACH)
 
#define fr_signal_is_dup(_signal)   (_signal & FR_SIGNAL_DUP)
 
#define fr_signal_is_retry(_signal)   (_signal & FR_SIGNAL_RETRY)
 
#define fr_signal_is_timeout(_signal)   (_signal & FR_SIGNAL_TIMEOUT)
 

Enumerations

enum  fr_signal_t {
  FR_SIGNAL_INVALID = 0x00 ,
  FR_SIGNAL_CANCEL = 0x01 ,
  FR_SIGNAL_DUP = 0x02 ,
  FR_SIGNAL_DETACH = 0x04 ,
  FR_SIGNAL_RETRY = 0x08 ,
  FR_SIGNAL_TIMEOUT = 0x10
}
 Signals that can be generated/processed by request signal handlers. More...
 

Detailed Description

Signals that can be sent to a request.

Id
f108e7af2f3f99ad74f63dc6c6ff8bfbda320bce

Definition in file signal.h.

Macro Definition Documentation

◆ fr_signal_is_cancel

#define fr_signal_is_cancel (   _signal)    (_signal & FR_SIGNAL_CANCEL)

Definition at line 51 of file signal.h.

◆ fr_signal_is_detach

#define fr_signal_is_detach (   _signal)    (_signal & FR_SIGNAL_DETACH)

Definition at line 53 of file signal.h.

◆ fr_signal_is_dup

#define fr_signal_is_dup (   _signal)    (_signal & FR_SIGNAL_DUP)

Definition at line 52 of file signal.h.

◆ fr_signal_is_retry

#define fr_signal_is_retry (   _signal)    (_signal & FR_SIGNAL_RETRY)

Definition at line 54 of file signal.h.

◆ fr_signal_is_timeout

#define fr_signal_is_timeout (   _signal)    (_signal & FR_SIGNAL_TIMEOUT)

Definition at line 55 of file signal.h.

Enumeration Type Documentation

◆ fr_signal_t

Signals that can be generated/processed by request signal handlers.

This is a bitfield so that it can be used to specify signal masks.

Enumerator
FR_SIGNAL_INVALID 
FR_SIGNAL_CANCEL 

Request has been cancelled.

If a module is signalled with this, the module should stop processing the request and cleanup anything it's done.

FR_SIGNAL_DUP 

A duplicate request was received.

FR_SIGNAL_DETACH 

Request is being detached from its parent.

FR_SIGNAL_RETRY 

a retry timer has hit

FR_SIGNAL_TIMEOUT 

a retry timeout or max count has hit

Definition at line 38 of file signal.h.