Set license using %license
[platform/upstream/libical.git] / src / libicalss / icalfilesetimpl.h
1 /* -*- Mode: C -*-
2   ======================================================================
3   FILE: icalfilesetimpl.h
4   CREATOR: eric 23 December 1999
5   
6   $Id: icalfilesetimpl.h,v 1.7 2008-01-02 20:07:40 dothebart Exp $
7   $Locker:  $
8     
9  (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
10
11  This program is free software; you can redistribute it and/or modify
12  it under the terms of either: 
13
14     The LGPL as published by the Free Software Foundation, version
15     2.1, available at: http://www.fsf.org/copyleft/lesser.html
16
17   Or:
18
19     The Mozilla Public License Version 1.0. You may obtain a copy of
20     the License at http://www.mozilla.org/MPL/
21
22  The Original Code is eric. The Initial Developer of the Original
23  Code is Eric Busboom
24
25
26  ======================================================================*/
27
28 #ifndef ICALFILESETIMPL_H
29 #define ICALFILESETIMPL_H
30
31 #ifdef HAVE_CONFIG_H
32 #include "config.h"
33 #endif
34
35 #include <libicalss/icalgauge.h>
36
37 /* This definition is in its own file so it can be kept out of the
38    main header file, but used by "friend classes" like icaldirset*/
39
40 #define ICALFILESET_ID "fset"
41
42 struct icalfileset_impl {
43   icalset super;                /**< parent class */
44   char *path;                   /**< pathname of file */
45   icalfileset_options options;  /**< copy of options passed to icalset_new() */
46
47   icalcomponent* cluster;       /**< cluster containing data */
48   icalgauge* gauge;             /**< gauge for filtering out data */
49   int changed;                  /**< boolean flag, 1 if data has changed */
50   int fd;                       /**< file descriptor */
51 };
52
53 #endif