Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 1.01.00

Description

Validates the user and password combination with known users.

Files

auth.h / auth.c

Prototype

Arguments

p_name

NULL-terminated string containing the name of the user.

p_pwd

NULL-terminated string containing the password to validate for this user.

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 credentials are valid.

DEF_FAIL, otherwise.

Callers

Application.

Notes / Warnings

None.