@ -1622,30 +1622,6 @@ typedef void (*IedServer_RCBEventHandler) (void* parameter, ReportControlBlock*
LIB61850_API void
IedServer_setRCBEventHandler ( IedServer self , IedServer_RCBEventHandler handler , void * parameter ) ;
/**
* \ brief Callback that is called in case of RCB access to give the user the opportunity to block or allow the operation
*
* \ note This callback is called before the IedServer_RCBEventHandler and only in case of operations ( RCB_EVENT_GET_PARAMETER , RCB_EVENT_SET_PARAMETER , RCB_EVENT_ENABLE
*
* \ param parameter user provided parameter
* \ param rcb affected report control block
* \ param connection client connection that is involved
* \ param operation one of the following operation event types : RCB_EVENT_GET_PARAMETER , RCB_EVENT_SET_PARAMETER
*/
typedef bool
( * IedServer_RCBAccessHandler ) ( void * parameter , ReportControlBlock * rcb , ClientConnection connection , IedServer_RCBEventType operation ) ;
/**
* \ brief Set a handler to control read and write access to report control blocks ( RCBs )
*
* \ param self the instance of IedServer to operate on .
* \ param handler the event handler to be used
* \ param parameter a user provided parameter that is passed to the handler .
*/
LIB61850_API void
IedServer_setRCBAccessHandler ( IedServer self , IedServer_RCBAccessHandler handler , void * parameter ) ;
/**@}*/
/**
@ -1865,6 +1841,45 @@ typedef MmsDataAccessError
LIB61850_API void
IedServer_setReadAccessHandler ( IedServer self , ReadAccessHandler handler , void * parameter ) ;
/**
* \ brief Callback that is called in case of RCB access to give the user the opportunity to block or allow the operation
*
* \ note This callback is called before the IedServer_RCBEventHandler and only in case of operations ( RCB_EVENT_GET_PARAMETER , RCB_EVENT_SET_PARAMETER , RCB_EVENT_ENABLE
*
* \ param parameter user provided parameter
* \ param rcb affected report control block
* \ param connection client connection that is involved
* \ param operation one of the following operation event types : RCB_EVENT_GET_PARAMETER , RCB_EVENT_SET_PARAMETER
*/
typedef bool
( * IedServer_RCBAccessHandler ) ( void * parameter , ReportControlBlock * rcb , ClientConnection connection , IedServer_RCBEventType operation ) ;
/**
* \ brief Set a handler to control read and write access to report control blocks ( RCBs )
*
* \ param self the instance of IedServer to operate on .
* \ param handler the event handler to be used
* \ param parameter a user provided parameter that is passed to the handler .
*/
LIB61850_API void
IedServer_setRCBAccessHandler ( IedServer self , IedServer_RCBAccessHandler handler , void * parameter ) ;
typedef enum {
LCB_EVENT_GET_PARAMETER ,
LCB_EVENT_SET_PARAMETER
} IedServer_LCBEventType ;
typedef bool
( * IedServer_LCBAccessHandler ) ( void * parameter , LogControlBlock * lcb , ClientConnection connection , IedServer_LCBEventType operation ) ;
LIB61850_API void
IedServer_setLCBAccessHandler ( IedServer self , IedServer_LCBAccessHandler handler , void * parameter ) ;
typedef bool
( * IedServer_LogAccessHandler ) ( void * parameter , const char * logName , ClientConnection connection ) ;
LIB61850_API void
IedServer_setLogAccessHandler ( IedServer self , IedServer_LogAccessHandler handler , void * parameter ) ;
typedef enum {
DATASET_CREATE ,