Event Management

Function/Macro Description
srv_event Causes an Open Data Services event to be activated.
SRV_EVENTDATA Accesses the event handler data passed by srv_event. Use this macro to retrieve data supplied by an Open Data Services server application.
SRV_GETSERVER Returns a pointer to the SRV_SERVER structure being used by the client.
SRV_GOT_ATTENTION Determines whether an attention event has occurred.
srv_handle Installs an event handler in an Open Data Services server application. Use this function to assign an event to an event handler other than the default event handler.
srv_impersonate_client Impersonates the security context of a client connection.
srv_pre_handle Installs a pre-event handler that is called before the standard event handler.
srv_post_handle Installs a post-event handler that is called after the standard event handler.
srv_revert_to_self Stops impersonation of the security context of a client connection, reverting to the original security context of the Open Data Services application.
srv_setevent Activates an event outside the context of a client connection.
srv_terminatethread Disconnects and exits a client thread.