#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <sys/types.h>#include <sys/param.h>#include <sys/stat.h>#include <atalk/afp.h>#include <atalk/compat.h>#include <atalk/util.h>#include <limits.h>#include <string.h>#include <ctype.h>#include <pwd.h>#include <grp.h>#include <atalk/logger.h>#include "uam_auth.h"Functions | |
| int | getuamnames (const int type, char *uamnames) |
| struct uam_obj * | auth_uamfind (const int type, const char *name, const int len) |
| int | auth_register (const int type, struct uam_obj *uam) |
| int | auth_load (const char *path, const char *list) |
| void | auth_unload (void) |
Variables | |
| static struct uam_mod | uam_modules = {NULL, NULL, &uam_modules, &uam_modules} |
| static struct uam_obj | uam_login |
| static struct uam_obj | uam_changepw |
| static struct uam_obj | uam_printer |
| int auth_load | ( | const char * | path, |
| const char * | list ) |
load all of the modules
| int auth_register | ( | const int | type, |
| struct uam_obj * | uam ) |
| struct uam_obj * auth_uamfind | ( | const int | type, |
| const char * | name, | ||
| const int | len ) |
just do a linked list search. this could be sped up with a hashed list, but i doubt anyone's going to have enough uams to matter.
| void auth_unload | ( | void | ) |
get rid of all of the uams
| int getuamnames | ( | const int | type, |
| char * | uamnames ) |
Return a list of names for loaded uams
|
static |
|
static |
|
static |
|
static |