]> arthur.barton.de Git - netatalk.git/blob - etc/cnid_dbd/pack.h
New MySQL CNID backend
[netatalk.git] / etc / cnid_dbd / pack.h
1 /*
2  * Copyright (C) Joerg Lenneis 2003
3  * Copyright (C) Frank Lahm 2010
4  * All Rights Reserved.  See COPYING.
5  */
6
7 #ifndef CNID_DBD_PACK_H
8 #define CNID_DBD_PACK_H 1
9
10 #include <db.h>
11 #include <atalk/cnid_bdb_private.h>
12
13 extern unsigned char *pack_cnid_data(struct cnid_dbd_rqst *);
14 extern int didname(DB *dbp, const DBT *pkey, const DBT *pdata, DBT *skey);
15 extern int devino(DB *dbp, const DBT *pkey, const DBT *pdata, DBT *skey);
16 extern int idxname(DB *dbp, const DBT *pkey, const DBT *pdata, DBT *skey);
17 extern void pack_setvol(const struct vol *vol);
18 #endif /* CNID_DBD_PACK_H */