Imported Upstream version 0.48
[platform/upstream/libical.git] / src / libicalss / icalbdbsetimpl.h
1 /* -*- Mode: C -*-
2   ======================================================================
3   FILE: icalbdbsetimpl.h
4   CREATOR: dml 12 December 2001
5   (C) COPYRIGHT 2001, Critical Path
6
7   $Id: icalbdbsetimpl.h,v 1.4 2008-01-02 20:07:39 dothebart Exp $
8   $Locker:  $
9  ======================================================================*/
10
11 #ifndef ICALBDBSETIMPL_H
12 #define ICALBDBSETIMPL_H
13
14 #ifdef HAVE_CONFIG_H
15 #include "config.h"
16 #endif
17
18 #include <libicalss/icalgauge.h>
19 #include <db.h>
20
21 /* This definition is in its own file so it can be kept out of the
22    main header file, but used by "friend classes" like icaldirset*/
23
24 struct icalbdbset_impl {
25   icalset super;                /**< parent class */
26   const char *path;
27   const char *subdb;
28   const char *sindex;
29   const char *key;
30   void *data;
31   int datasize;
32   int changed;
33   icalcomponent* cluster;
34   icalgauge* gauge;
35   DB_ENV *dbenv;
36   DB *dbp;
37   DB *sdbp;
38   DBC *dbcp;
39 };
40
41 #endif