]> arthur.barton.de Git - netatalk.git/blob - test/afpd/afpfunc_helpers.h
Ordering libs helps
[netatalk.git] / test / afpd / afpfunc_helpers.h
1 /*
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>
4
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.
9
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.
14 */
15
16 #ifndef AFPFUNC_HELPERS
17 #define AFPFUNC_HELPERS
18
19 #ifdef HAVE_CONFIG_H
20 #include "config.h"
21 #endif /* HAVE_CONFIG_H */
22
23 #include <string.h>
24 #include <stdio.h>
25 #include <stdlib.h>
26 #include <errno.h>
27
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>
35
36 #include "file.h"
37 #include "filedir.h"
38 #include "directory.h"
39 #include "dircache.h"
40 #include "hash.h"
41 #include "globals.h"
42 #include "afp_config.h"
43 #include "volume.h"
44
45 #include "test.h"
46 #include "subtests.h"
47
48 extern char **cnamewrap(const char *name);
49
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);
56
57 #endif  /* AFPFUNC_HELPERS */