aboutsummaryrefslogtreecommitdiffstats
path: root/libical/src/libicalss/icalbdbsetimpl.h
blob: 281a4834d4b15fb2122659eca6ecb1f9ef640325 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* -*- Mode: C -*-
  ======================================================================
  FILE: icalbdbsetimpl.h
  CREATOR: dml 12 December 2001
  (C) COPYRIGHT 2001, Critical Path

  $Id$
  $Locker$
 ======================================================================*/

#ifndef ICALBDBSETIMPL_H
#define ICALBDBSETIMPL_H

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include "icalgauge.h"
#include <db.h>

/* This definition is in its own file so it can be kept out of the
   main header file, but used by "friend classes" like icaldirset*/

struct icalbdbset_impl {
  icalset super;        /**< parent class */
  const char *path;
  const char *subdb;
  const char *sindex;
  const char *key;
  void *data;
  int datasize;
  int changed;
  icalcomponent* cluster;
  icalgauge* gauge;
  DB_ENV *dbenv;
  DB *dbp;
  DB *sdbp;
  DBC *dbcp;
};

#endif