aboutsummaryrefslogtreecommitdiffstats
path: root/libical/src/libicalss/icalfileset.h
diff options
context:
space:
mode:
authorJP Rosevear <jpr@src.gnome.org>2001-01-24 03:20:44 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-01-24 03:20:44 +0800
commitfd279723663879e742e53d7b3503248f6af91791 (patch)
tree09233c88d6c42b5bb324be7c64a8f8c64ff02846 /libical/src/libicalss/icalfileset.h
parent34bcd381ce1985cc762a896f15d427e368af95e5 (diff)
downloadgsoc2013-evolution-fd279723663879e742e53d7b3503248f6af91791.tar
gsoc2013-evolution-fd279723663879e742e53d7b3503248f6af91791.tar.gz
gsoc2013-evolution-fd279723663879e742e53d7b3503248f6af91791.tar.bz2
gsoc2013-evolution-fd279723663879e742e53d7b3503248f6af91791.tar.lz
gsoc2013-evolution-fd279723663879e742e53d7b3503248f6af91791.tar.xz
gsoc2013-evolution-fd279723663879e742e53d7b3503248f6af91791.tar.zst
gsoc2013-evolution-fd279723663879e742e53d7b3503248f6af91791.zip
This commit was generated by cvs2svn to compensate for changes in r7747,
which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=7748
Diffstat (limited to 'libical/src/libicalss/icalfileset.h')
-rw-r--r--libical/src/libicalss/icalfileset.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/libical/src/libicalss/icalfileset.h b/libical/src/libicalss/icalfileset.h
index 4430f1dc74..3b4b87c34d 100644
--- a/libical/src/libicalss/icalfileset.h
+++ b/libical/src/libicalss/icalfileset.h
@@ -30,6 +30,12 @@
#define ICALFILESET_H
#include "ical.h"
+#include "icalgauge.h"
+#include <sys/types.h> /* For open() flags and mode */
+#include <sys/stat.h> /* For open() flags and mode */
+#include <fcntl.h> /* For open() flags and mode */
+
+extern int icalfileset_safe_saves;
typedef void icalfileset;
@@ -41,6 +47,11 @@ typedef void icalfileset;
icalfileset* icalfileset_new(const char* path);
+
+/* Like _new, but takes open() flags for opening the file */
+icalfileset* icalfileset_new_open(const char* path,
+ int flags, mode_t mode);
+
void icalfileset_free(icalfileset* cluster);
const char* icalfileset_path(icalfileset* cluster);
@@ -61,7 +72,7 @@ int icalfileset_count_components(icalfileset* cluster,
/* Restrict the component returned by icalfileset_first, _next to those
that pass the gauge. _clear removes the gauge */
-icalerrorenum icalfileset_select(icalfileset* store, icalcomponent* gauge);
+icalerrorenum icalfileset_select(icalfileset* store, icalgauge* gauge);
void icalfileset_clear(icalfileset* store);
/* Get and search for a component by uid */