2 Copyright (c) 2012 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.
20 #include <atalk/globals.h>
21 #include <atalk/volume.h>
23 extern int afp_config_parse(AFPObj *obj, char *processname);
25 extern int load_charset(struct vol *vol);
26 extern int load_volumes(AFPObj *obj, void (*delvol_fn)(const AFPObj *obj, struct vol *));
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);
35 extern char* charset_names[];