Valid on UNIX
The authxapi_UnregisterExitFunction function unregisters your exit function from CA ControlMinder.
If the function succeeds, it returns 0. If it fails, it sets the global variable errno to EINVAL and returns AUTHXAPI_E_NOEVENT, meaning that the event code passed was invalid.
int authxapi_UnregisterExitFunction (int event);
Integer code of the event to which your Exits API function is registered.
Example: Unregistering User's Exit Function
This example illustrates how you use the authxapi_UnregisterExitFunction to unregister a user's exit function.
rc = authxapi_UnregisterExitFunction(AUTHXAPI_EV_PRELOGIN);
if (rc)
{
syslog(LOG_ERR,
“Unexpected error unregistering exit function [%m]”);
}
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|