libsmoco
Low-level interface library for Segment Motion Controller system
|
#include "smoco_data.h"
Go to the source code of this file.
Functions | |
SMOCO_HANDLER_LI * | insert_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) |
Functions for registering and calling externally-supplied handler routines.
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