#include <arpa/inet.h>#include <ctype.h>#include <fcntl.h>#include <netinet/in.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/param.h>#include <sys/socket.h>#include <sys/time.h>#include <unistd.h>#include <bstrlib.h>#include <atalk/afp.h>#include <atalk/dsi.h>#include <atalk/globals.h>#include <atalk/logger.h>#include <atalk/util.h>#include <atalk/volume.h>#include "afp_config.h"#include "auth.h"#include "uam_auth.h"Functions | |
| struct uam_mod * | uam_load (AFPObj *obj, const char *path, const char *name) |
| void | uam_unload (struct uam_mod *mod) |
| int | uam_register (const int type, const char *path, const char *name,...) |
| void | uam_unregister (const int type, const char *name) |
| struct passwd * | uam_getname (void *private, char *name, const int len) |
| helper functions for plugin uams | |
| int | uam_checkuser (void *private, const struct passwd *pwd) |
| int | uam_random_string (AFPObj *obj, char *buf, int len) |
| int | uam_afpserver_option (void *private, const int what, void *option, size_t *len) |
| UAM_MODULE_EXPORT void | append (struct papfile *pf, const char *data, int len) |
| UAM_MODULE_EXPORT void append | ( | struct papfile * | pf, |
| const char * | data, | ||
| int | len ) |
| int uam_afpserver_option | ( | void * | private, |
| const int | what, | ||
| void * | option, | ||
| size_t * | len ) |
| int uam_checkuser | ( | void * | private, |
| const struct passwd * | pwd ) |
| struct passwd * uam_getname | ( | void * | private, |
| char * | name, | ||
| const int | len ) |
helper functions for plugin uams
| private | pointer to AFPObj |
| name | user name |
| len | size of name buffer. |
| int uam_random_string | ( | AFPObj * | obj, |
| char * | buf, | ||
| int | len ) |
| int uam_register | ( | const int | type, |
| const char * | path, | ||
| const char * | name, | ||
| ... ) |
| void uam_unload | ( | struct uam_mod * | mod | ) |
| void uam_unregister | ( | const int | type, |
| const char * | name ) |