2 Copyright (c) 2010 Frank Lahm <franklahm@gmail.com>
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
15 #ifndef AFPFUNC_HELPERS
16 #define AFPFUNC_HELPERS
20 #endif /* HAVE_CONFIG_H */
27 #include <atalk/util.h>
28 #include <atalk/cnid.h>
29 #include <atalk/logger.h>
30 #include <atalk/volume.h>
31 #include <atalk/directory.h>
32 #include <atalk/queue.h>
33 #include <atalk/bstrlib.h>
34 #include <atalk/globals.h>
38 #include "directory.h"
41 #include "afp_config.h"
47 extern char **cnamewrap(const char *name);
49 extern int getfiledirparms(AFPObj *obj, uint16_t vid, cnid_t did, const char *name);
50 extern int createdir(AFPObj *obj, uint16_t vid, cnid_t did, const char *name);
51 extern int createfile(AFPObj *obj, uint16_t vid, cnid_t did, const char *name);
52 extern int delete(AFPObj *obj, uint16_t vid, cnid_t did, const char *name);
53 extern int enumerate(AFPObj *obj, uint16_t vid, cnid_t did);
54 extern uint16_t openvol(AFPObj *obj, const char *name);
56 #endif /* AFPFUNC_HELPERS */