netatalk  4.4.0dev
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
netatalk_conf.h
Go to the documentation of this file.
1/*
2 Copyright (c) 2012 Frank Lahm <[email protected]>
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
23extern int afp_config_parse(AFPObj *obj, char *processname);
24extern void afp_config_free(AFPObj *obj);
25extern int load_charset(struct vol *vol);
27extern void unload_volumes(AFPObj *obj);
28extern struct vol *getvolumes(void);
29extern struct vol *getvolbyvid(const uint16_t);
30extern struct vol *getvolbypath(AFPObj *obj, const char *path);
31extern struct vol *getvolbyname(const char *name);
32extern void volume_free(struct vol *vol);
33extern void volume_unlink(struct vol *volume);
34
35/* Extension type/creator mapping */
36struct extmap *getdefextmap(void);
37struct extmap *getextmap(const char *path);
38
39#endif
static dbd_flags_t flags
Definition cmd_dbd.c:45
lv_flags_t
Definition include/atalk/volume.h:136
static afpvol_t volume
Definition nad_rm.c:46
static AFPObj obj
Definition netatalk.c:62
struct vol * getvolbypath(AFPObj *obj, const char *path)
Definition netatalk_conf.c:2190
struct extmap * getdefextmap(void)
Definition netatalk_conf.c:1800
int load_charset(struct vol *vol)
Definition netatalk_conf.c:1897
void volume_unlink(struct vol *volume)
Definition netatalk_conf.c:1845
void volume_free(struct vol *vol)
Definition netatalk_conf.c:1872
struct extmap * getextmap(const char *path)
Definition netatalk_conf.c:1776
void unload_volumes(AFPObj *obj)
Definition netatalk_conf.c:2066
int load_volumes(AFPObj *obj, lv_flags_t flags)
Definition netatalk_conf.c:1923
struct vol * getvolbyvid(const uint16_t)
Definition netatalk_conf.c:2090
struct vol * getvolbyname(const char *name)
Definition netatalk_conf.c:2411
void afp_config_free(AFPObj *obj)
Definition netatalk_conf.c:2894
struct vol * getvolumes(void)
Definition netatalk_conf.c:2085
int afp_config_parse(AFPObj *obj, char *processname)
Definition netatalk_conf.c:2430
Definition globals.h:154
Definition include/atalk/volume.h:26
Definition include/atalk/directory.h:97
Definition include/atalk/volume.h:32