#include <sys/stat.h>
#include <atalk/globals.h>
#include "volume.h"
Go to the source code of this file.
|
| char * | ctoupath (const struct vol *, struct dir *, char *) |
| |
| char * | absupath (const struct vol *, struct dir *, char *) |
| |
| int | veto_file (const char *veto_str, const char *path) |
| | given a veto_str like "abc/zxc/" and path "abc", return 1
|
| |
| int | check_name (const struct vol *vol, char *name) |
| |
| int | delete_vetoed_files (struct vol *vol, const char *upath, bool in_vetodir) |
| |
| int | afp_moveandrename (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen) |
| |
| int | afp_rename (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen) |
| |
| int | afp_delete (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen) |
| |
| int | afp_getfildirparams (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen) |
| |
| int | afp_setfildirparams (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen) |
| |
◆ absupath()
| char * absupath |
( |
const struct vol * |
vol, |
|
|
struct dir * |
dir, |
|
|
char * |
u |
|
) |
| |
|
extern |
◆ afp_delete()
| int afp_delete |
( |
AFPObj * |
obj, |
|
|
char * |
ibuf, |
|
|
size_t |
ibuflen, |
|
|
char * |
rbuf, |
|
|
size_t * |
rbuflen |
|
) |
| |
◆ afp_getfildirparams()
| int afp_getfildirparams |
( |
AFPObj * |
obj, |
|
|
char * |
ibuf, |
|
|
size_t |
ibuflen, |
|
|
char * |
rbuf, |
|
|
size_t * |
rbuflen |
|
) |
| |
◆ afp_moveandrename()
| int afp_moveandrename |
( |
AFPObj * |
obj, |
|
|
char * |
ibuf, |
|
|
size_t |
ibuflen, |
|
|
char * |
rbuf, |
|
|
size_t * |
rbuflen |
|
) |
| |
◆ afp_rename()
| int afp_rename |
( |
AFPObj * |
obj, |
|
|
char * |
ibuf, |
|
|
size_t |
ibuflen, |
|
|
char * |
rbuf, |
|
|
size_t * |
rbuflen |
|
) |
| |
◆ afp_setfildirparams()
| int afp_setfildirparams |
( |
AFPObj * |
obj, |
|
|
char * |
ibuf, |
|
|
size_t |
ibuflen, |
|
|
char * |
rbuf, |
|
|
size_t * |
rbuflen |
|
) |
| |
◆ check_name()
| int check_name |
( |
const struct vol * |
vol, |
|
|
char * |
name |
|
) |
| |
|
extern |
Factorise some checks on a pathname
◆ ctoupath()
| char * ctoupath |
( |
const struct vol * |
vol, |
|
|
struct dir * |
dir, |
|
|
char * |
name |
|
) |
| |
|
extern |
◆ delete_vetoed_files()
| int delete_vetoed_files |
( |
struct vol * |
vol, |
|
|
const char * |
upath, |
|
|
bool |
in_vetodir |
|
) |
| |
|
extern |
◆ veto_file()
| int veto_file |
( |
const char * |
veto_str, |
|
|
const char * |
path |
|
) |
| |
|
extern |
given a veto_str like "abc/zxc/" and path "abc", return 1
- Note
- veto_str should be '/' delimited
- Returns
- if path matches any one of the veto_str elements exactly, then 1 is returned otherwise, 0 is returned.
◆ default_options