@CHIP-RTOS C Library V2.06 - TCP/IP API
Dev_PPP_Register_Chap
Register a PPP CHAP authentication callback function. int Dev_PPP_Register_Chap(DevUserIfaceHandle DevHandlePtr,
const void far * AuthCallbackFunction,
int *error); Parameters
DevHandlePtr
- Device handle
AuthCallbackFunction
- Pointer to the authentication callback function.
error
- Output parameter: Failure
code, 0 on success.
Return Value
- 0: success
-1: failed
Comments
- The prototype of the user provided function is defined as:
char huge * myCHAPAuthenticate(char *username) ;
which returns the password (secret) corresponding to this user.
If the user name is invalid, this function must return a NULL pointer.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
V1.11 | V1.01 | V1.01 | V0.90 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|