Libical API Documentation  3.0
vcaltmp.h
1 /***************************************************************************
2 (C) Copyright 1996 Apple Computer, Inc., AT&T Corp., International
3 Business Machines Corporation and Siemens Rolm Communications Inc.
4 
5 For purposes of this license notice, the term Licensors shall mean,
6 collectively, Apple Computer, Inc., AT&T Corp., International
7 Business Machines Corporation and Siemens Rolm Communications Inc.
8 The term Licensor shall mean any of the Licensors.
9 
10 Subject to acceptance of the following conditions, permission is hereby
11 granted by Licensors without the need for written agreement and without
12 license or royalty fees, to use, copy, modify and distribute this
13 software for any purpose.
14 
15 The above copyright notice and the following four paragraphs must be
16 reproduced in all copies of this software and any software including
17 this software.
18 
19 THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS AND NO LICENSOR SHALL HAVE
20 ANY OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS OR
21 MODIFICATIONS.
22 
23 IN NO EVENT SHALL ANY LICENSOR BE LIABLE TO ANY PARTY FOR DIRECT,
24 INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT
25 OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
26 DAMAGE.
27 
28 EACH LICENSOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED,
29 INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF NONINFRINGEMENT OR THE
30 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
31 PURPOSE.
32 
33 The software is provided with RESTRICTED RIGHTS. Use, duplication, or
34 disclosure by the government are subject to restrictions set forth in
35 DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable.
36 
37 ***************************************************************************/
38 
39 #ifndef VCALTMP_H
40 #define VCALTMP_H
41 
42 #include "libical_vcal_export.h"
43 #include "vcc.h"
44 
45 #if defined(__CPLUSPLUS__) || defined(__cplusplus)
46 extern "C"
47 {
48 #endif
49 
50  LIBICAL_VCAL_EXPORT VObject *vcsCreateVCal(char *date_created,
51  char *location,
52  char *product_id, char *time_zone, char *version);
53 
54  LIBICAL_VCAL_EXPORT VObject *vcsAddEvent(VObject *vcal,
55  char *start_date_time,
56  char *end_date_time,
57  char *description,
58  char *summary,
59  char *categories,
60  char *classification,
61  char *status, char *transparency, char *uid,
62  char *url);
63 
64  LIBICAL_VCAL_EXPORT VObject *vcsAddTodo(VObject *vcal,
65  char *start_date_time,
66  char *due_date_time,
67  char *date_time_complete,
68  char *description,
69  char *summary,
70  char *priority,
71  char *classification, char *status, char *uid,
72  char *url);
73 
74  LIBICAL_VCAL_EXPORT VObject *vcsAddAAlarm(VObject *vevent,
75  char *run_time,
76  char *snooze_time,
77  char *repeat_count, char *audio_content);
78 
79  LIBICAL_VCAL_EXPORT VObject *vcsAddMAlarm(VObject *vevent,
80  char *run_time,
81  char *snooze_time,
82  char *repeat_count, char *email_address, char *note);
83 
84  LIBICAL_VCAL_EXPORT VObject *vcsAddDAlarm(VObject *vevent,
85  char *run_time,
86  char *snooze_time,
87  char *repeat_count, char *display_string);
88 
89  LIBICAL_VCAL_EXPORT VObject *vcsAddPAlarm(VObject *vevent,
90  char *run_time,
91  char *snooze_time,
92  char *repeat_count, char *procedure_name);
93 
94 #if defined(__CPLUSPLUS__) || defined(__cplusplus)
95 }
96 
97 #endif
98 
99 #endif /* VCALTMP_H */
Definition: vobject.c:69