#include <fcntl.h>#include <stdio.h>#include <string.h>#include <sys/stat.h>#include <sys/types.h>#include <unistd.h>#include "../../etc/uams/uams_srp.c"Macros | |
| #define | fstat test_fstat |
Functions | |
| const char * | tmpdir (void) |
| Find a suitable temporary directory for Netatalk. | |
| static int | test_fstat (int fd, struct stat *st) |
| 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_afpserver_option (void *private, const int what, void *option, size_t *len) |
| int | main (void) |
Variables | |
| static struct stat | verifier_directory |
| static struct stat | verifier_file |
| #define fstat test_fstat |
| int main | ( | void | ) |
|
static |
|
extern |
Find a suitable temporary directory for Netatalk.
Creates a subdirectory for current gid if it doesn't exist. The result should be copied immediately as it may be overwritten by a subsequent call.
| 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_register | ( | const int | type, |
| const char * | path, | ||
| const char * | name, | ||
| ... ) |
| void uam_unregister | ( | const int | type, |
| const char * | name ) |
|
static |
|
static |