X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Ffiledir.h;h=f72e5445b0f52b544dd6c2ddec7bfc40f0599981;hb=4021b76ce3f3e51756e9d59b4a5a045ad6398dc8;hp=9645bc00823e01b95fc9dd26424d8d60b9b5d5e1;hpb=cdb7047fb6897c1ad8b4ac264001d44154bf144d;p=netatalk.git diff --git a/etc/afpd/filedir.h b/etc/afpd/filedir.h index 9645bc00..f72e5445 100644 --- a/etc/afpd/filedir.h +++ b/etc/afpd/filedir.h @@ -2,7 +2,7 @@ #define AFPD_FILEDIR_H 1 #include -#include "globals.h" +#include #include "volume.h" extern struct afp_options default_options; @@ -15,6 +15,7 @@ extern int veto_file (const char *veto_str, const char *path); extern int check_name (const struct vol *vol, char *name); extern int matchfile2dirperms (char *, struct vol *, int); +extern int delete_vetoed_files(struct vol *vol, const char *upath, bool in_vetodir); /* FP functions */ int afp_moveandrename (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen);