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