netatalk 4.5.0
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
dbd.h
Go to the documentation of this file.
1/*
2 * Copyright (C) Joerg Lenneis 2003
3 * Copyright (C) Frank Lahm 2009, 2010
4 * All Rights Reserved. See COPYING.
5 */
6
7#ifndef CNID_DBD_DBD_H
8#define CNID_DBD_DBD_H 1
9
10#include <arpa/inet.h>
11
12#include <atalk/cnid_bdb_private.h>
13
14#include "dbif.h"
15
16 int add_cnid(DBD *dbd, struct cnid_dbd_rqst *rqst, struct cnid_dbd_rply *rply);
17 int get_cnid(DBD *dbd, struct cnid_dbd_rply *rply);
18
19 int dbd_add(DBD *dbd, struct cnid_dbd_rqst *, struct cnid_dbd_rply *);
20 int dbd_lookup(DBD *dbd, struct cnid_dbd_rqst *, struct cnid_dbd_rply *);
21 int dbd_get(DBD *dbd, struct cnid_dbd_rqst *, struct cnid_dbd_rply *);
22 int dbd_resolve(DBD *dbd, struct cnid_dbd_rqst *, struct cnid_dbd_rply *);
23 int dbd_update(DBD *dbd, struct cnid_dbd_rqst *, struct cnid_dbd_rply *);
24 int dbd_delete(DBD *dbd, struct cnid_dbd_rqst *, struct cnid_dbd_rply *,
25 int idx);
26 int dbd_getstamp(DBD *dbd, struct cnid_dbd_rqst *, struct cnid_dbd_rply *);
27 int dbd_rebuild_add(DBD *dbd, struct cnid_dbd_rqst *, struct cnid_dbd_rply *);
28 int dbd_search(DBD *dbd, struct cnid_dbd_rqst *, struct cnid_dbd_rply *);
29 int dbd_check_indexes(DBD *dbd, char *);
30
31#endif /* CNID_DBD_DBD_H */
cnid_bdb_private.h
dbd_resolve
int dbd_resolve(DBD *dbd, struct cnid_dbd_rqst *, struct cnid_dbd_rply *)
Definition dbd_resolve.c:24
dbd_search
int dbd_search(DBD *dbd, struct cnid_dbd_rqst *, struct cnid_dbd_rply *)
Definition dbd_search.c:23
dbd_get
int dbd_get(DBD *dbd, struct cnid_dbd_rqst *, struct cnid_dbd_rply *)
Definition dbd_get.c:26
dbd_update
int dbd_update(DBD *dbd, struct cnid_dbd_rqst *, struct cnid_dbd_rply *)
takes the given cnid and updates the metadata.
Definition dbd_update.c:29
dbd_delete
int dbd_delete(DBD *dbd, struct cnid_dbd_rqst *, struct cnid_dbd_rply *, int idx)
Definition dbd_delete.c:22
dbd_lookup
int dbd_lookup(DBD *dbd, struct cnid_dbd_rqst *, struct cnid_dbd_rply *)
This returns the CNID corresponding to a particular file.
Definition dbd_lookup.c:141
dbd_add
int dbd_add(DBD *dbd, struct cnid_dbd_rqst *, struct cnid_dbd_rply *)
Definition dbd_add.c:146
dbd_check_indexes
int dbd_check_indexes(DBD *dbd, char *)
Definition dbd_dbcheck.c:24
dbd_rebuild_add
int dbd_rebuild_add(DBD *dbd, struct cnid_dbd_rqst *, struct cnid_dbd_rply *)
Definition dbd_rebuild_add.c:27
add_cnid
int add_cnid(DBD *dbd, struct cnid_dbd_rqst *rqst, struct cnid_dbd_rply *rply)
Definition dbd_add.c:28
dbd_getstamp
int dbd_getstamp(DBD *dbd, struct cnid_dbd_rqst *, struct cnid_dbd_rply *)
Definition dbd_getstamp.c:25
get_cnid
int get_cnid(DBD *dbd, struct cnid_dbd_rply *rply)
Definition dbd_add.c:72
dbif.h
CNID DBD (Database Daemon) Backend interface definitions.
dbd
static DBD * dbd
Definition etc/cnid_dbd/main.c:45
DBD
Definition dbif.h:91
cnid_dbd_rply
Definition cnid_bdb_private.h:73
cnid_dbd_rqst
Definition cnid_bdb_private.h:62