netatalk  4.4.0dev
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
unix.h File Reference
#include <arpa/inet.h>
#include "config.h"
#include "volume.h"
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "directory.h"

Go to the source code of this file.

Macros

#define f_frsize   f_bsize
#define dqb_btimelimit   dqb_btime

Functions

int getnfsquota (struct vol *, const int, const uint32_t, struct dqblk *)
int uquota_getvolspace (const AFPObj *obj, struct vol *, VolSpace *, VolSpace *, const uint32_t)
int setdirunixmode (const struct vol *, char *, mode_t)
int setdirmode (const struct vol *, const char *, mode_t)
int setdirowner (const struct vol *, const char *, const uid_t, const gid_t)
int setfilunixmode (const struct vol *, struct path *, const mode_t)
int setfilowner (const struct vol *, const uid_t, const gid_t, struct path *)
void accessmode (const AFPObj *obj, const struct vol *, char *, struct maccess *, struct dir *, struct stat *)

Variables

struct afp_options default_options

Macro Definition Documentation

◆ dqb_btimelimit

#define dqb_btimelimit   dqb_btime

◆ f_frsize

#define f_frsize   f_bsize

Function Documentation

◆ accessmode()

void accessmode ( const AFPObj * obj,
const struct vol * ,
char * ,
struct maccess * ,
struct dir * ,
struct stat *  )
extern

◆ getnfsquota()

int getnfsquota ( struct vol * vol,
const int uid,
const uint32_t bsize,
struct dqblk * dqp )
extern

◆ setdirmode()

int setdirmode ( const struct vol * ,
const char * ,
mode_t  )
extern

◆ setdirowner()

int setdirowner ( const struct vol * vol,
const char * name,
const uid_t uid,
const gid_t gid )
extern

◆ setdirunixmode()

int setdirunixmode ( const struct vol * vol,
char * name,
mode_t mode )
extern

◆ setfilowner()

int setfilowner ( const struct vol * vol,
const uid_t uid,
const gid_t gid,
struct path * path )
extern

◆ setfilunixmode()

int setfilunixmode ( const struct vol * vol,
struct path * path,
const mode_t mode )
extern

◆ uquota_getvolspace()

int uquota_getvolspace ( const AFPObj * obj,
struct vol * vol,
VolSpace * bfree,
VolSpace * btotal,
const uint32_t bsize )
extern

Variable Documentation

◆ default_options

struct afp_options default_options
extern