X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Ffiledir.h;h=f72e5445b0f52b544dd6c2ddec7bfc40f0599981;hb=0612081546981aae6caa7fde0f60fee10d9b688a;hp=9645bc00823e01b95fc9dd26424d8d60b9b5d5e1;hpb=313b5f94348618d65523c1d8bde1fba9988f040a;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);