aboutsummaryrefslogtreecommitdiffstats
path: root/libversit/vcaltmp.h
blob: 4c4afde9638feed0aa663839bb0ca55f233a5521 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/***************************************************************************
(C) Copyright 1996 Apple Computer, Inc., AT&T Corp., International             
Business Machines Corporation and Siemens Rolm Communications Inc.             
                                                                               
For purposes of this license notice, the term Licensors shall mean,            
collectively, Apple Computer, Inc., AT&T Corp., International                  
Business Machines Corporation and Siemens Rolm Communications Inc.             
The term Licensor shall mean any of the Licensors.                             
                                                                               
Subject to acceptance of the following conditions, permission is hereby        
granted by Licensors without the need for written agreement and without        
license or royalty fees, to use, copy, modify and distribute this              
software for any purpose.                                                      
                                                                               
The above copyright notice and the following four paragraphs must be           
reproduced in all copies of this software and any software including           
this software.                                                                 
                                                                               
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS AND NO LICENSOR SHALL HAVE       
ANY OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS OR       
MODIFICATIONS.                                                                 
                                                                               
IN NO EVENT SHALL ANY LICENSOR BE LIABLE TO ANY PARTY FOR DIRECT,              
INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT         
OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH         
DAMAGE.                                                                        
                                                                               
EACH LICENSOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED,       
INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF NONINFRINGEMENT OR THE            
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR             
PURPOSE.                                                                       

The software is provided with RESTRICTED RIGHTS.  Use, duplication, or         
disclosure by the government are subject to restrictions set forth in          
DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable.                         

***************************************************************************/

#include "vcc.h"

#ifndef __VCALTMP_H__
#define __VCALTMP_H__

#if defined(__CPLUSPLUS__) || defined(__cplusplus)
extern "C" {
#endif

extern DLLEXPORT(VObject*) vcsCreateVCal(
    char *date_created,
    char *location,
    char *product_id,
    char *time_zone,
    char *version
    );

extern DLLEXPORT(VObject*) vcsAddEvent(
    VObject *vcal,
    char *start_date_time,
    char *end_date_time,
    char *description,
    char *summary,
    char *categories,
    char *classification,
    char *status,
    char *transparency,
    char *uid,
    char *url
    );


extern DLLEXPORT(VObject*) vcsAddTodo(
    VObject *vcal,
    char *start_date_time,
    char *due_date_time,
    char *date_time_complete,
    char *description,
    char *summary,
    char *priority,
    char *classification,
    char *status,
    char *uid,
    char *url
    );


extern DLLEXPORT(VObject*) vcsAddAAlarm(
    VObject *vevent,
    char *run_time,
    char *snooze_time,
    char *repeat_count,
    char *audio_content
    );


extern DLLEXPORT(VObject*) vcsAddMAlarm(
    VObject *vevent,
    char *run_time,
    char *snooze_time,
    char *repeat_count,
    char *email_address,
    char *note
    );


extern DLLEXPORT(VObject*) vcsAddDAlarm(
    VObject *vevent,
    char *run_time,
    char *snooze_time,
    char *repeat_count,
    char *display_string
    );


extern DLLEXPORT(VObject*) vcsAddPAlarm(
    VObject *vevent,
    char *run_time,
    char *snooze_time,
    char *repeat_count,
    char *procedure_name
    );

#if defined(__CPLUSPLUS__) || defined(__cplusplus)
}
#endif

#endif /* __VCALTMP_H__ */