Libtrap: Internal development docs  1.16.1
Macros | Enumerations | Variables
Collaboration diagram for Types of IFC:

Macros

#define TRAP_IFC_TYPE_GENERATOR   'g'
 trap_ifc_dummy generator (input) More...
 
#define TRAP_IFC_TYPE_BLACKHOLE   'b'
 trap_ifc_dummy blackhole (output) More...
 
#define TRAP_IFC_TYPE_TCPIP   't'
 trap_ifc_tcpip (input&output part) More...
 
#define TRAP_IFC_TYPE_TLS   'T'
 trap_ifc_tls (input&output part) More...
 
#define TRAP_IFC_TYPE_UNIX   'u'
 trap_ifc_tcpip via UNIX socket(input&output part) More...
 
#define TRAP_IFC_TYPE_SERVICE   's'
 service ifc More...
 
#define TRAP_IFC_TYPE_FILE   'f'
 trap_ifc_file (input&output part) More...
 

Enumerations

enum  trap_ifc_type { TRAPIFC_INPUT = 1, TRAPIFC_OUTPUT = 2 }
 

Variables

char trap_ifc_type_supported []
 
enum trap_ifc_type __attribute__
 

Detailed Description

Macro Definition Documentation

◆ TRAP_IFC_TYPE_BLACKHOLE

#define TRAP_IFC_TYPE_BLACKHOLE   'b'

trap_ifc_dummy blackhole (output)

Definition at line 172 of file trap.h.

◆ TRAP_IFC_TYPE_FILE

#define TRAP_IFC_TYPE_FILE   'f'

trap_ifc_file (input&output part)

Definition at line 177 of file trap.h.

◆ TRAP_IFC_TYPE_GENERATOR

#define TRAP_IFC_TYPE_GENERATOR   'g'

trap_ifc_dummy generator (input)

Definition at line 171 of file trap.h.

◆ TRAP_IFC_TYPE_SERVICE

#define TRAP_IFC_TYPE_SERVICE   's'

service ifc

Definition at line 176 of file trap.h.

◆ TRAP_IFC_TYPE_TCPIP

#define TRAP_IFC_TYPE_TCPIP   't'

trap_ifc_tcpip (input&output part)

Definition at line 173 of file trap.h.

◆ TRAP_IFC_TYPE_TLS

#define TRAP_IFC_TYPE_TLS   'T'

trap_ifc_tls (input&output part)

Definition at line 174 of file trap.h.

◆ TRAP_IFC_TYPE_UNIX

#define TRAP_IFC_TYPE_UNIX   'u'

trap_ifc_tcpip via UNIX socket(input&output part)

Definition at line 175 of file trap.h.

Enumeration Type Documentation

◆ trap_ifc_type

Type of interface (direction)

Enumerator
TRAPIFC_INPUT 

interface acts as source of data for module

TRAPIFC_OUTPUT 

interface is used for sending data out of module

Definition at line 183 of file trap.h.

Variable Documentation

◆ __attribute__

enum trap_ifc_type __attribute__

◆ trap_ifc_type_supported

char trap_ifc_type_supported[]

NULL terminated array of supported IFC types.

Definition at line 107 of file trap.c.