X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Ffork.h;h=7aaff0f5a26acbbae6f115caa4736da5571723d8;hb=b0bcb8f6b0571592a50ce039882c9319e012a270;hp=7ea7a8a6edc56e52424897ce07616847224f4886;hpb=3858412d6efa2798fdc9b3f5613275e49dd63513;p=netatalk.git diff --git a/etc/afpd/fork.h b/etc/afpd/fork.h index 7ea7a8a6..7aaff0f5 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" @@ -46,6 +45,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; @@ -65,7 +65,6 @@ 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); @@ -81,7 +80,6 @@ extern int of_fstatat(int dirfd, struct path *path); /* 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);