]> arthur.barton.de Git - netatalk.git/blob - include/atalk/netatalk_conf.h
858b4f1cd17a1107dbd017023c9c8ef77b2f7f28
[netatalk.git] / include / atalk / netatalk_conf.h
1 /*
2    Copyright (c) 2012 Frank Lahm <franklahm@gmail.com>
3
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.
8  
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.
13  */
14
15 #ifndef AFP_CONFIG_H
16 #define AFP_CONFIG_H
17
18 #include <stdint.h>
19
20 #include <atalk/globals.h>
21 #include <atalk/volume.h>
22
23 extern int        afp_config_parse(AFPObj *obj, char *processname);
24 extern void       afp_config_free(AFPObj *obj);
25 extern int        load_charset(struct vol *vol);
26 extern int        load_volumes(AFPObj *obj);
27 extern void       unload_volumes(AFPObj *obj);
28 extern struct vol *getvolumes(void);
29 extern struct vol *getvolbyvid(const uint16_t);
30 extern struct vol *getvolbypath(AFPObj *obj, const char *path);
31 extern struct vol *getvolbyname(const char *name);
32 extern void       volume_free(struct vol *vol);
33 extern void       volume_unlink(struct vol *volume);
34
35 /* Extension type/creator mapping */
36 struct extmap *getdefextmap(void);
37 struct extmap *getextmap(const char *path);
38
39 #endif