X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Ffork.h;h=e950aa0ffdf6aa72cb47d8e167ab078ca32fcd41;hb=6d60f95c388da5f8f901d67e0018cf4896e6c6dc;hp=ab75f1f7930856b8e03a206299d880ce97b6e62c;hpb=954f1435c53be3c861e662d9a6699227c612de57;p=netatalk.git diff --git a/etc/afpd/fork.h b/etc/afpd/fork.h index ab75f1f7..e950aa0f 100644 --- a/etc/afpd/fork.h +++ b/etc/afpd/fork.h @@ -7,9 +7,8 @@ #define AFPD_FORK_H 1 #include -#include +#include -#include #include #include "volume.h" #include "directory.h" @@ -65,22 +64,21 @@ extern int of_rename (const struct vol *, struct dir *, const char *, struct dir *, const char *); extern int of_flush (const struct vol *); -extern void of_pforkdesc (FILE *); 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 */ extern int flushfork (struct ofork *); -extern int getforkmode (struct adouble *, int , int ); /* FP functions */ int afp_openfork (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen);