Description
Get the user structure associated with a given name.
Files
auth.h / auth.c
Prototype
Code Block | ||
---|---|---|
| ||
CPU_BOOLEAN Auth_GetUser (const CPU_CHAR *p_name,
AUTH_USER *p_user,
RTOS_ERR *p_err) |
Arguments
p_name
NULL-terminated string containing the name of the user to retrieve.
p_user
Pointer to user object that will be filled by the function.
p_err
Pointer to variable that will receive the return error code from this function.
Returned Value
DEF_OK
, if operation was successful.
DEF_FAIL
, otherwise.
Callers
Application.
Notes / Warnings
None.