libsmoco
Low-level interface library for Segment Motion Controller system
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
smoco_handlers.h File Reference
#include "smoco_data.h"
Include dependency graph for smoco_handlers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

SMOCO_HANDLER_LIinsert_handler (SMOCO_Data *psd, SMOCO_HANDLER hdlr)
 
void remove_handler (SMOCO_Data *psd, SMOCO_HANDLER_LI *hdli)
 
void remove_all_handlers (SMOCO_Data *psd)
 
void call_message_handlers (SMOCO_Data *psd, SMOCO_Response *p_resp)
 

Detailed Description

Functions for registering and calling externally-supplied handler routines.

Function Documentation

void call_message_handlers ( SMOCO_Data psd,
SMOCO_Response p_resp 
)
SMOCO_HANDLER_LI* insert_handler ( SMOCO_Data psd,
SMOCO_HANDLER  hdlr 
)

Allocate and insert a new handler into the list.

void remove_all_handlers ( SMOCO_Data psd)
void remove_handler ( SMOCO_Data psd,
SMOCO_HANDLER_LI p_hdli 
)

Deallocate and remove a handler from the list