X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Ffork.h;h=ae22b8f7f6b52c1b161808ac027b07948680af97;hb=4054f4b3c85ecab060dafd46c0d3632cadbb5803;hp=ab75f1f7930856b8e03a206299d880ce97b6e62c;hpb=4209e62c0346332dfe05efaec90f219abf1266e5;p=netatalk.git diff --git a/etc/afpd/fork.h b/etc/afpd/fork.h index ab75f1f7..ae22b8f7 100644 --- a/etc/afpd/fork.h +++ b/etc/afpd/fork.h @@ -46,6 +46,7 @@ struct ofork { #define AFPFORK_ACCRD (1<<4) #define AFPFORK_ACCWR (1<<5) #define AFPFORK_ACCMASK (AFPFORK_ACCRD | AFPFORK_ACCWR) +#define AFPFORK_MODIFIED (1<<6) /* used in FCE for modified files */ #ifdef AFS extern struct ofork *writtenfork; @@ -70,12 +71,13 @@ extern int of_stat (struct path *); extern int of_statdir (struct vol *vol, struct path *); extern int of_closefork (struct ofork *ofork); extern void of_closevol (const struct vol *vol); +extern void of_close_all_forks(void); extern struct adouble *of_ad (const struct vol *, struct path *, struct adouble *); -#ifdef HAVE_RENAMEAT +#ifdef HAVE_ATFUNCS extern struct ofork *of_findnameat(int dirfd, struct path *path); extern int of_fstatat(int dirfd, struct path *path); -#endif /* HAVE_RENAMEAT */ +#endif /* HAVE_ATFUNCS */ /* in fork.c */