HP-UX AAA Server A.07.01 Administrator's Guide
Unregisters a file descriptor with the HP-UX AAA Server. The HP-UX AAA Server
does not monitor the file descriptor for inbound messages once the file is unregistered.
Input
fd The file descriptor that needs to be unregistered.
Return
Returns one of the following values:
• SDK_SUCCESS if the operation succeeds.
• SDK_INVALID_ARG if the arguments are invalid.
• SDK_FAILURE if the operation fails.
int sdk_schedule_event()
int sdk_schedule_event (sdk_authreq_t *authreq, char *aatv_name,
int event_code)
Usage
Adds an authentication request and an event to the AAA global authentication request
list to schedule an event.
Input
authreq A pointer to an authentication request.
aatv_name The name of the AATV supplied for processing the request.
event_code The event code to resume processing the request from where it was
left off on the FSM.
Return
Returns one of the following values:
• SDK_SUCCESS if the operation succeeds.
• SDK_INVALID_ARG if the arguments are invalid.
• SDK_FAILURE if the operation fails.
Secondary APIs
This section discusses additional APIs that you can use to customize the HP-UX AAA
Server.
sdk_authreq_t *sdk_get_authreq_by_id()
sdk_authreq_t *sdk_get_authreq_by_id(uint64_t authreq_id)
Usage
Obtains the authentication request through the request identifier and returns a pointer
to the authreq structure.
Input
authreq_id A number used by the HP-UX AAA Server to uniquely identify an
authentication request.
APIs in the HP-UX AAA Server SDK 441