summaryrefslogtreecommitdiffabout
path: root/libical/src/libicalss/icalfilesetimpl.h
blob: fe396042250a7dba529e1e6656a8e418f900c1e2 (plain)
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
42
43
44
45
46
47
48
49
50
51
52
53
/* -*- Mode: C -*-
  ======================================================================
  FILE: icalfilesetimpl.h
  CREATOR: eric 23 December 1999
  
  $Id$
  $Locker$
    
 (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org

 This program is free software; you can redistribute it and/or modify
 it under the terms of either: 

    The LGPL as published by the Free Software Foundation, version
    2.1, available at: http://www.fsf.org/copyleft/lesser.html

  Or:

    The Mozilla Public License Version 1.0. You may obtain a copy of
    the License at http://www.mozilla.org/MPL/

 The Original Code is eric. The Initial Developer of the Original
 Code is Eric Busboom


 ======================================================================*/

#ifndef ICALFILESETIMPL_H
#define ICALFILESETIMPL_H

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

#include "icalgauge.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*/

#define ICALFILESET_ID "fset"

struct icalfileset_impl {
  icalset super;		/**< parent class */
  char *path;			/**< pathname of file */
  icalfileset_options options;  /**< copy of options passed to icalset_new() */

  icalcomponent* cluster;	/**< cluster containing data */
  icalgauge* gauge;		/**< gauge for filtering out data */
  int changed;			/**< boolean flag, 1 if data has changed */
  int fd;			/**< file descriptor */
};

#endif