2 * $Id: filedir.h,v 1.11 2009-10-15 10:43:13 didg Exp $
6 #define AFPD_FILEDIR_H 1
10 #include <atalk/globals.h>
13 extern struct afp_options default_options;
15 extern char *ctoupath (const struct vol *, struct dir *,
17 extern char *absupath (const struct vol *, struct dir *,
19 extern int veto_file (const char *veto_str, const char *path);
20 extern int check_name (const struct vol *vol, char *name);
22 extern int matchfile2dirperms (char *, struct vol *, int);
25 int afp_moveandrename (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen);
26 int afp_rename (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen);
27 int afp_delete (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen);
28 int afp_getfildirparams (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen);
29 int afp_setfildirparams (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen);