Node:Obtaining Authorization Information, Next:Existing Modules, Previous:Module Creation and Destruction, Up:libmuauth
int mu_auth_runlist (list_t flist, void *return_data, void *key, void *call_data); | Function |
The list is expected to contain The function returns 0 if none of the functions from |
struct mu_auth_data * mu_get_auth_by_name (const char *username) | Function |
Search the information about given user by its username. Similar to
system's |
struct mu_auth_data * mu_get_auth_by_uid (uid_t uid) | Function |
Search the information about given user by its uid. Similar to
system's getpwuid call).
|
int mu_authenticate (struct mu_auth_data *auth_data, char *pass) | Function |
Authenticate the user whose data are in auth_data using password pass. Return 0 if the user is authenticated. |