aboutsummaryrefslogtreecommitdiffstats
path: root/libical/src/libicalss/icalcsdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'libical/src/libicalss/icalcsdb.h')
-rw-r--r--libical/src/libicalss/icalcsdb.h67
1 files changed, 67 insertions, 0 deletions
diff --git a/libical/src/libicalss/icalcsdb.h b/libical/src/libicalss/icalcsdb.h
new file mode 100644
index 0000000000..4619b94fd0
--- /dev/null
+++ b/libical/src/libicalss/icalcsdb.h
@@ -0,0 +1,67 @@
+/* -*- Mode: C -*- */
+/*======================================================================
+ FILE: icalcsdb.h Calendar Server Database
+ 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/
+
+
+======================================================================*/
+
+#ifndef ICALCSDB_H
+#define ICALCSDB_H
+
+#include "ical.h"
+
+typedef void icalcsdb;
+
+icalcsdb* icalcsdb_new(char* path);
+
+void icalcsdb_free(icalcsdb* csdb);
+
+icalerrorenum icalcsdb_create(icalcsdb* db, char* calid);
+
+icalerrorenum icalcsdb_delete(icalcsdb* db, char* calid);
+
+icalerrorenum icalcsdb_move(icalcsdb* db, char* oldcalid, char* newcalid);
+
+icalerrorenum icalcsdb_noop(icalcsdb* db);
+
+char* icalcsdb_generateuid(icalcsdb* db);
+
+icalcomponent* icalcsdb_expand_upn(icalcsdb* db, char* upn);
+icalcomponent* icalcsdb_expand_calid(icalcsdb* db, char* calid);
+
+icalerrorenum icalcsbd_senddata(icalcsdb* db, icalcomponent* comp);
+
+icalset* icalcsdb_get_calendar(icalcsdb* db, char* calid,
+ icalcomponent *gauge);
+
+icalset* icalcsdb_get_vcars(icalcsdb* db);
+
+icalset* icalcsdb_get_properties(icalcsdb* db);
+
+icalset* icalcsdb_get_capabilities(icalcsdb* db);
+
+icalset* icalcsdb_get_timezones(icalcsdb* db);
+
+
+#endif /* !ICALCSDB_H */
+
+
+