]> arthur.barton.de Git - netatalk.git/blob - include/atalk/netatalk_conf.h
First try for a volume defaults config
[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);
24
25 extern int        load_volumes(AFPObj *obj, void (*delvol_fn)(struct vol *));
26 extern void       unload_volumes(AFPObj *obj);
27 extern struct vol *getvolumes(void);
28 extern struct vol *getvolbyvid(const uint16_t);
29 extern struct vol *getvolbypath(const char *path);
30 extern void       volume_free(struct vol *vol);
31 extern void       volume_unlink(struct vol *volume);
32 #endif