Cisco Cisco IOS Software Release 12.2(15)T Guide Du Développeur

Page de 50
 
5-11
Cisco Gatekeeper External Interface Reference, Version 4.2
Cisco IOS Release 12.2(15)T
Chapter 5      Gatekeeper API Functions and Structures
Gatekeeper API Functions
TCP_CONNECTION_CLOSED—The connection to the Cisco IOS Gatekeeper has been closed. 
The application must call CloseGateKeeperConnection to free resources such as gkHandle in the 
GKAPI_SOCK_INFO structure.
INVALID_MSG_SPECIFIED—The message type is not within the RESPONSE_MSG_TYPE 
range.
HEADER_INFO_INCOMPLETE—One of the fields in the header (To, From, TransactionID) is 
incomplete.
NULL_POINTER_PASSED—The pointer to the GK_UNREGISTER_MSG is null.
GkapiSetupReport
This function allows the application to control the type of debug messages that the Gatekeeper API 
provides and the location of the debug output.
Input
The input for this function is:
An integer that indicates the type of debugging. If the debugging is set to 0, the Gatekeeper API will 
not output any debug messages. 
A pointer to the 
 enumeration, which indicates the destination for the debug 
messages.
Return
There is no return for this function.
GkapiQueryReport
This function returns the current debug setting for the Gatekeeper API.
Input
There is no input for this function.
Return
The return for this function is an integer that indicates the type of debugging being performed by the 
Gatekeeper API.