Back to index

lightning-sunbird  0.9+nobinonly
icalcsdb.h
Go to the documentation of this file.
00001 /* -*- Mode: C -*- */
00002 /*======================================================================
00003  FILE: icalcsdb.h Calendar Server Database
00004  CREATOR: eric 23 December 1999
00005 
00006 
00007  $Id: icalcsdb.h,v 1.1.1.1 2001/01/02 07:33:03 ebusboom Exp $
00008  $Locker:  $
00009 
00010  (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
00011 
00012  This program is free software; you can redistribute it and/or modify
00013  it under the terms of either: 
00014 
00015     The LGPL as published by the Free Software Foundation, version
00016     2.1, available at: http://www.fsf.org/copyleft/lesser.html
00017 
00018   Or:
00019 
00020     The Mozilla Public License Version 1.0. You may obtain a copy of
00021     the License at http://www.mozilla.org/MPL/
00022 
00023 
00024 ======================================================================*/
00025 
00026 #ifndef ICALCSDB_H
00027 #define ICALCSDB_H
00028 
00029 #include "ical.h"
00030 
00031 typedef void icalcsdb;
00032 
00033 icalcsdb* icalcsdb_new(char* path);
00034 
00035 void icalcsdb_free(icalcsdb* csdb);
00036 
00037 icalerrorenum icalcsdb_create(icalcsdb* db, char* calid);
00038 
00039 icalerrorenum icalcsdb_delete(icalcsdb* db, char* calid);
00040 
00041 icalerrorenum icalcsdb_move(icalcsdb* db, char* oldcalid, char* newcalid);
00042 
00043 icalerrorenum icalcsdb_noop(icalcsdb* db);
00044 
00045 char* icalcsdb_generateuid(icalcsdb* db);
00046 
00047 icalcomponent* icalcsdb_expand_upn(icalcsdb* db, char* upn);
00048 icalcomponent* icalcsdb_expand_calid(icalcsdb* db, char* calid);
00049 
00050 icalerrorenum icalcsbd_senddata(icalcsdb* db, icalcomponent* comp);
00051 
00052 icalset* icalcsdb_get_calendar(icalcsdb* db, char* calid, 
00053                             icalcomponent *gauge);
00054 
00055 icalset* icalcsdb_get_vcars(icalcsdb* db);
00056 
00057 icalset* icalcsdb_get_properties(icalcsdb* db);
00058 
00059 icalset* icalcsdb_get_capabilities(icalcsdb* db);
00060 
00061 icalset* icalcsdb_get_timezones(icalcsdb* db);
00062 
00063 
00064 #endif /* !ICALCSDB_H */
00065 
00066 
00067