netatalk  4.4.0dev
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
uam.c File Reference
#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_moduam_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)
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 _U_, const char *data _U_, int len _U_)

Function Documentation

◆ append()

UAM_MODULE_EXPORT void append ( struct papfile *pf _U_,
const char *data _U_,
int len _U_ )

◆ uam_afpserver_option()

int uam_afpserver_option ( void * private,
const int what,
void * option,
size_t * len )

◆ uam_checkuser()

int uam_checkuser ( void * private,
const struct passwd * pwd )

◆ uam_getname()

struct passwd * uam_getname ( void * private,
char * name,
const int len )

◆ uam_load()

struct uam_mod * uam_load ( AFPObj * obj,
const char * path,
const char * name )

◆ uam_random_string()

int uam_random_string ( AFPObj * obj,
char * buf,
int len )

◆ uam_register()

int uam_register ( const int type,
const char * path,
const char * name,
... )

◆ uam_unload()

void uam_unload ( struct uam_mod * mod)

◆ uam_unregister()

void uam_unregister ( const int type,
const char * name )