X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=blobdiff_plain;f=etc%2Fafpd%2Ffork.h;h=ae22b8f7f6b52c1b161808ac027b07948680af97;hp=ab75f1f7930856b8e03a206299d880ce97b6e62c;hb=5116ed2346ea7ee6e5a9858dee94f3eacdc00d7e;hpb=99080678c43ac3ebf2076598884a3e472697fe6b 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 */