#include <arpa/inet.h>
#include "config.h"
#include "volume.h"
Go to the source code of this file.
|
| 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 *) |
| | Calculate the mode for a directory using a stat() call to estimate permission.
|
| |
◆ f_frsize
◆ accessmode()
| void accessmode |
( |
const AFPObj * |
obj, |
|
|
const struct vol * |
vol, |
|
|
char * |
path, |
|
|
struct maccess * |
ma, |
|
|
struct dir * |
dir, |
|
|
struct stat * |
st |
|
) |
| |
|
extern |
Calculate the mode for a directory using a stat() call to estimate permission.
- Note
- the previous method, using access(), does not work correctly over NFS.
◆ 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()
◆ default_options