Next: Existing Modules, Previous: Module Creation and Destruction, Up: libmuauth
The list is expected to contain
mu_auth_fp
pointers. Each of them is dereferenced and executed until either the list is exhausted or any of the functions returns non-zero, whichever occurs first. The return_data and key arguments are passed as the first two parameters to the function (see the definition ofmu_auth_fp
, notice the footnote), thecall_data
is passed as its last parameter.The function returns 0 if none of the functions from
list
succeeded, i.e. returned non-zero value. Otherwise it returns the return code from the succeeded function.
Search the information about given user by its username. Similar to system's
getpwnam
call).