PadicoTM

Documentation

« back to PM2 home.
component: PSP_Control- PSP over control channel.

Data Structures

struct  psp_control_instance_s
 a PSP/Control instance More...
 

Variables

struct { 
 
   struct padico_psp_directory_s   slots 
 
   pthread_mutex_t   lock 
 
   psp_control_stream_vect_t   streams 
 
} psp_control 
 PSP_Control static status.
 
static const struct puk_component_driver_s psp_control_component_driver
 instanciation facet for PSP_Control
 
static const struct padico_psp_driver_s psp_control_driver
 PadicoSimplePackets facet for PSP_Control.
 

Detailed Description

Variable Documentation

◆ []

pthread_mutex_t { ... } ::lock

Definition at line 71 of file psp-control.c.

◆ [struct]

◆ psp_control_component_driver

const struct puk_component_driver_s psp_control_component_driver
static
Initial value:
=
{
.instantiate = &psp_control_instantiate,
.destroy = &psp_control_destroy
}
static void psp_control_destroy(void *_instance)
static void * psp_control_instantiate(puk_instance_t ai, puk_context_t context)

instanciation facet for PSP_Control

Definition at line 95 of file psp-control.c.

Referenced by psp_control_module_init().

◆ psp_control_driver

const struct padico_psp_driver_s psp_control_driver
static
Initial value:
=
{
.init = &psp_control_init,
.connect = NULL,
.listen = NULL,
.new_message = &psp_control_new_message,
.pack = &psp_control_pack,
.end_message = &psp_control_end_message
}
return NULL
Definition Shm.h:88
static void psp_control_init(void *_instance, uint32_t tag, const char *label, size_t *h_size, padico_psp_handler_t handler, void *key)
static void psp_control_end_message(void *_instance, padico_psp_connection_t conn)
static padico_psp_connection_t psp_control_new_message(void *_instance, padico_topo_node_t node, void **sbuf)
static void psp_control_pack(void *_instance, padico_psp_connection_t conn, const char *bytes, size_t size)

PadicoSimplePackets facet for PSP_Control.

Definition at line 103 of file psp-control.c.

Referenced by psp_control_module_init().

◆ []

struct padico_psp_directory_s { ... } ::slots

Definition at line 70 of file psp-control.c.

◆ []

psp_control_stream_vect_t { ... } ::streams

Definition at line 72 of file psp-control.c.