Go to the source code of this file.
Functions | |
| 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) |
| Recursivley delete vetoed files and directories if the volume option is set. | |
| 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) |
Variables | |
| struct afp_options | default_options |
| 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_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_setfildirparams | ( | AFPObj * | obj, |
| char * | ibuf, | ||
| size_t | ibuflen, | ||
| char * | rbuf, | ||
| size_t * | rbuflen ) |
|
extern |
Factorise some checks on a pathname
|
extern |
Recursivley delete vetoed files and directories if the volume option is set.
| [in] | vol | volume handle |
| [in] | upath | path of directory |
| [in] | in_vetodir | true if we are already in a vetoed directory |
If the volume option delete veto files is set, this function recursively scans the directory "upath" for vetoed files and tries deletes these, the it will try to delete the directory. That may fail if the directory contains normal files that aren't vetoed.
|
extern |
given a veto_str like "abc/zxc/" and path "abc", return 1
|
extern |