netatalk
4.4.3
Free and Open Source Apple Filing Protocol (AFP) Server
Toggle main menu visibility
Loading...
Searching...
No Matches
cmd_dbd.h
Go to the documentation of this file.
1
#ifndef CMD_DBD_H
2
#define CMD_DBD_H
3
4
#include <limits.h>
5
#include <signal.h>
6
7
#include <
atalk/netatalk_conf.h
>
8
9
#include "
dbif.h
"
10
11
enum
logtype
{
LOGSTD
,
LOGDEBUG
};
12
typedef
unsigned
int
dbd_flags_t
;
13
14
#define DBD_FLAGS_SCAN (1 << 0)
15
#define DBD_FLAGS_FORCE (1 << 1)
16
#define DBD_FLAGS_STATS (1 << 2)
17
#define DBD_FLAGS_V2TOEA (1 << 3)
18
#define DBD_FLAGS_VERBOSE (1 << 4)
19
20
#define ADv2_DIRNAME ".AppleDouble"
21
22
#define DIR_DOT_OR_DOTDOT(a) \
23
((strcmp(a, ".") == 0) || (strcmp(a, "..") == 0))
24
25
extern
volatile
sig_atomic_t
alarmed
;
26
27
void
dbd_log
(
enum
logtype
lt,
char
*fmt, ...);
28
int
cmd_dbd_scanvol
(
struct
vol
*
vol
,
dbd_flags_t
flags
);
29
30
#endif
/* CMD_DBD_H */
flags
static dbd_flags_t flags
Definition
cmd_dbd.c:45
dbd_flags_t
unsigned int dbd_flags_t
Definition
cmd_dbd.h:12
LOGDEBUG
@ LOGDEBUG
Definition
cmd_dbd.h:11
LOGSTD
@ LOGSTD
Definition
cmd_dbd.h:11
cmd_dbd_scanvol
int cmd_dbd_scanvol(struct vol *vol, dbd_flags_t flags)
Definition
cmd_dbd_scanvol.c:954
dbd_log
void dbd_log(enum logtype lt, char *fmt,...)
Definition
cmd_dbd.c:121
dbif.h
CNID DBD (Database Daemon) Backend interface definitions.
logtype
logtype
Definition
nad.h:40
alarmed
static volatile sig_atomic_t alarmed
Definition
nad_cp.c:98
netatalk_conf.h
vol
Definition
include/atalk/volume.h:30
etc
cnid_dbd
cmd_dbd.h
Generated by
1.17.0