netatalk: netatalk_conf.h Source File

netatalk 4.5.0
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 <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
23extern int afp_config_parse(AFPObj *obj, char *processname);
24extern void afp_config_free(AFPObj *obj);
25extern int load_charset(struct vol *vol);
26extern int load_volumes(AFPObj *obj, lv_flags_t flags);
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
flags
static dbd_flags_t flags
Definition cmd_dbd.c:43
globals.h
volume.h
lv_flags_t
lv_flags_t
Definition include/atalk/volume.h:124
volume
static afpvol_t volume
Definition nad_rm.c:46
obj
static AFPObj obj
Definition netatalk.c:69
getvolbypath
struct vol * getvolbypath(AFPObj *obj, const char *path)
Search volume by path, creating user home vols as necessary.
Definition netatalk_conf.c:2541
getdefextmap
struct extmap * getdefextmap(void)
Definition netatalk_conf.c:2146
load_charset
int load_charset(struct vol *vol)
Definition netatalk_conf.c:2246
volume_unlink
void volume_unlink(struct vol *volume)
Definition netatalk_conf.c:2191
volume_free
void volume_free(struct vol *vol)
Free all resources allocated in a struct vol in load_volumes().
Definition netatalk_conf.c:2218
getextmap
struct extmap * getextmap(const char *path)
Definition netatalk_conf.c:2122
unload_volumes
void unload_volumes(AFPObj *obj)
Definition netatalk_conf.c:2418
load_volumes
int load_volumes(AFPObj *obj, lv_flags_t flags)
Initialize volumes and load ini configfile.
Definition netatalk_conf.c:2272
getvolbyvid
struct vol * getvolbyvid(const uint16_t)
Definition netatalk_conf.c:2442
getvolbyname
struct vol * getvolbyname(const char *name)
Definition netatalk_conf.c:2762
afp_config_free
void afp_config_free(AFPObj *obj)
Definition netatalk_conf.c:3349
getvolumes
struct vol * getvolumes(void)
Definition netatalk_conf.c:2437
afp_config_parse
int afp_config_parse(AFPObj *obj, char *processname)
Definition netatalk_conf.c:2781
AFPObj
Definition globals.h:166
extmap
Definition include/atalk/volume.h:27
path
Definition include/atalk/directory.h:123
vol
Definition include/atalk/volume.h:33