- Refactored hdb callbacks
SKIPPED: psi/julcho.c
This commit is contained in:
@@ -18,6 +18,21 @@
|
||||
#define SICSCBRANGE -609
|
||||
#define SICSCBBADFIXED -610
|
||||
#define SICSNOPAR -611
|
||||
/*======================== SICS Messages ======================================*/
|
||||
typedef struct {
|
||||
char *type;
|
||||
int ID;
|
||||
}hdbIDMessage, *pHdbIDMessage;
|
||||
/*------------------------------------------------------------------------------*/
|
||||
pHdbIDMessage GetKillIDMessage(pHdbMessage message);
|
||||
pHdbIDMessage GetKillInternalIDMessage(pHdbMessage message);
|
||||
/*-----------------------------------------------------------------------------*/
|
||||
typedef struct {
|
||||
char *type;
|
||||
void *pPtr;
|
||||
}hdbPtrMessage, *pHdbPtrMessage;
|
||||
/*-----------------------------------------------------------------------------*/
|
||||
pHdbPtrMessage GetKillPtrMessage(pHdbMessage message);
|
||||
/*======================== data structure for automatic parameter update =======*/
|
||||
typedef struct {
|
||||
SConnection *pCon;
|
||||
@@ -341,6 +356,12 @@ int isSICSHdbRO(pHdb node);
|
||||
* @return 1 on success, 0 when out of memory.
|
||||
*/
|
||||
int InstallSICSNotify(pHdb node, SConnection *pCon, int id, int recurse);
|
||||
/**
|
||||
* remove all Callbacks associated with a given conenction
|
||||
* @param root Where to start removing callbacks
|
||||
* @param pCon The connection for which to remove callbacks
|
||||
*/
|
||||
void RemoveConnectionCallbacks(pHdb root, SConnection *pCon);
|
||||
/**
|
||||
* handles the common task of checking for, and processing a SICS parameter.
|
||||
* @param root The node at which to search for parameters
|
||||
|
||||
Reference in New Issue
Block a user