aboutsummaryrefslogtreecommitdiffstats
path: root/doc/devel/calendar/cal-client/evolution-cal-client-decl.txt
blob: d2f3663315014e25ae4b2455171ec67107013ea4 (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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
<ENUM>
<NAME>CalClientChangeType</NAME>
typedef enum {
    CAL_CLIENT_CHANGE_ADDED = 1 << 0,
    CAL_CLIENT_CHANGE_MODIFIED = 1 << 1,
    CAL_CLIENT_CHANGE_DELETED = 1 << 2
} CalClientChangeType;
</ENUM>
<FUNCTION>
<NAME>cal_client_change_list_free</NAME>
<RETURNS>void  </RETURNS>
GList *list
</FUNCTION>
<MACRO>
<NAME>CAL_CLIENT_TYPE</NAME>
#define CAL_CLIENT_TYPE            (cal_client_get_type ())
</MACRO>
<MACRO>
<NAME>CAL_CLIENT</NAME>
#define CAL_CLIENT(obj)            (GTK_CHECK_CAST ((obj), CAL_CLIENT_TYPE, CalClient))
</MACRO>
<MACRO>
<NAME>CAL_CLIENT_CLASS</NAME>
#define CAL_CLIENT_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), CAL_CLIENT_TYPE, CalClientClass))
</MACRO>
<MACRO>
<NAME>IS_CAL_CLIENT</NAME>
#define IS_CAL_CLIENT(obj)         (GTK_CHECK_TYPE ((obj), CAL_CLIENT_TYPE))
</MACRO>
<MACRO>
<NAME>IS_CAL_CLIENT_CLASS</NAME>
#define IS_CAL_CLIENT_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), CAL_CLIENT_TYPE))
</MACRO>
<STRUCT>
<NAME>CalClient</NAME>
</STRUCT>
<STRUCT>
<NAME>CalClientClass</NAME>
</STRUCT>
<STRUCT>
<NAME>CalClientPrivate</NAME>
</STRUCT>
<ENUM>
<NAME>CalClientOpenStatus</NAME>
typedef enum {
    CAL_CLIENT_OPEN_SUCCESS,
    CAL_CLIENT_OPEN_ERROR,
    CAL_CLIENT_OPEN_NOT_FOUND,
    CAL_CLIENT_OPEN_METHOD_NOT_SUPPORTED
} CalClientOpenStatus;
</ENUM>
<ENUM>
<NAME>CalClientGetStatus</NAME>
typedef enum {
    CAL_CLIENT_GET_SUCCESS,
    CAL_CLIENT_GET_NOT_FOUND,
    CAL_CLIENT_GET_SYNTAX_ERROR
} CalClientGetStatus;
</ENUM>
<ENUM>
<NAME>CalClientLoadState</NAME>
typedef enum {
    CAL_CLIENT_LOAD_NOT_LOADED,
    CAL_CLIENT_LOAD_LOADING,
    CAL_CLIENT_LOAD_LOADED
} CalClientLoadState;
</ENUM>
<STRUCT>
<NAME>CalClient</NAME>
struct CalClient {
    GtkObject object;

    /* Private data */
    CalClientPrivate *priv;
};
</STRUCT>
<FUNCTION>
<NAME>cal_client_get_type</NAME>
<RETURNS>GtkType  </RETURNS>
void
</FUNCTION>
<FUNCTION>
<NAME>cal_client_construct</NAME>
<RETURNS>CalClient  *</RETURNS>
CalClient *client
</FUNCTION>
<FUNCTION>
<NAME>cal_client_new</NAME>
<RETURNS>CalClient  *</RETURNS>
void
</FUNCTION>
<FUNCTION>
<NAME>cal_client_open_calendar</NAME>
<RETURNS>gboolean  </RETURNS>
CalClient *client, const char *str_uri, gboolean only_if_exists
</FUNCTION>
<FUNCTION>
<NAME>cal_client_get_load_state</NAME>
<RETURNS>CalClientLoadState  </RETURNS>
CalClient *client
</FUNCTION>
<FUNCTION>
<NAME>cal_client_get_uri</NAME>
<RETURNS>const char  *</RETURNS>
CalClient *client
</FUNCTION>
<FUNCTION>
<NAME>cal_client_get_n_objects</NAME>
<RETURNS>int  </RETURNS>
CalClient *client, CalObjType type
</FUNCTION>
<FUNCTION>
<NAME>cal_client_get_object</NAME>
<RETURNS>CalClientGetStatus  </RETURNS>
CalClient *client,const char *uid,CalComponent **comp
</FUNCTION>
<FUNCTION>
<NAME>cal_client_get_uids</NAME>
<RETURNS>GList  *</RETURNS>
CalClient *client, CalObjType type
</FUNCTION>
<FUNCTION>
<NAME>cal_client_get_changes</NAME>
<RETURNS>GList  *</RETURNS>
CalClient *client, CalObjType type, const char *change_id
</FUNCTION>
<FUNCTION>
<NAME>cal_client_get_objects_in_range</NAME>
<RETURNS>GList  *</RETURNS>
CalClient *client, CalObjType type,time_t start, time_t end
</FUNCTION>
<FUNCTION>
<NAME>cal_client_generate_instances</NAME>
<RETURNS>void  </RETURNS>
CalClient *client, CalObjType type,time_t start, time_t end,CalRecurInstanceFn cb, gpointer cb_data
</FUNCTION>
<FUNCTION>
<NAME>cal_client_get_alarms_in_range</NAME>
<RETURNS>GSList  *</RETURNS>
CalClient *client, time_t start, time_t end
</FUNCTION>
<FUNCTION>
<NAME>cal_client_free_alarms</NAME>
<RETURNS>void  </RETURNS>
GSList *comp_alarms
</FUNCTION>
<FUNCTION>
<NAME>cal_client_get_alarms_for_object</NAME>
<RETURNS>gboolean  </RETURNS>
CalClient *client, const char *uid,time_t start, time_t end,CalComponentAlarms **alarms
</FUNCTION>
<FUNCTION>
<NAME>cal_client_update_object</NAME>
<RETURNS>gboolean  </RETURNS>
CalClient *client, CalComponent *comp
</FUNCTION>
<FUNCTION>
<NAME>cal_client_remove_object</NAME>
<RETURNS>gboolean  </RETURNS>
CalClient *client, const char *uid
</FUNCTION>
<FUNCTION>
<NAME>cal_client_get_query</NAME>
<RETURNS>CalQuery  *</RETURNS>
CalClient *client, const char *sexp
</FUNCTION>
<MACRO>
<NAME>CAL_QUERY_TYPE</NAME>
#define CAL_QUERY_TYPE            (cal_query_get_type ())
</MACRO>
<MACRO>
<NAME>CAL_QUERY</NAME>
#define CAL_QUERY(obj)            (GTK_CHECK_CAST ((obj), CAL_QUERY_TYPE, CalQuery))
</MACRO>
<MACRO>
<NAME>CAL_QUERY_CLASS</NAME>
#define CAL_QUERY_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), CAL_QUERY_TYPE, CalQueryClass))
</MACRO>
<MACRO>
<NAME>IS_CAL_QUERY</NAME>
#define IS_CAL_QUERY(obj)         (GTK_CHECK_TYPE ((obj), CAL_QUERY_TYPE))
</MACRO>
<MACRO>
<NAME>IS_CAL_QUERY_CLASS</NAME>
#define IS_CAL_QUERY_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), CAL_QUERY_TYPE))
</MACRO>
<ENUM>
<NAME>CalQueryDoneStatus</NAME>
typedef enum {
    CAL_QUERY_DONE_SUCCESS,
    CAL_QUERY_DONE_PARSE_ERROR
} CalQueryDoneStatus;
</ENUM>
<STRUCT>
<NAME>CalQueryPrivate</NAME>
</STRUCT>
<TYPEDEF>
<NAME>CalQuery</NAME>
typedef struct {
    GtkObject object;

    /* Private data */
    CalQueryPrivate *priv;
} CalQuery;
</TYPEDEF>
<FUNCTION>
<NAME>cal_query_get_type</NAME>
<RETURNS>GtkType  </RETURNS>
void
</FUNCTION>
<FUNCTION>
<NAME>cal_query_construct</NAME>
<RETURNS>CalQuery  *</RETURNS>
CalQuery *query,GNOME_Evolution_Calendar_Cal cal,const char *sexp
</FUNCTION>
<FUNCTION>
<NAME>cal_query_new</NAME>
<RETURNS>CalQuery  *</RETURNS>
GNOME_Evolution_Calendar_Cal cal,const char *sexp
</FUNCTION>
<MACRO>
<NAME>QUERY_LISTENER_TYPE</NAME>
#define QUERY_LISTENER_TYPE            (query_listener_get_type ())
</MACRO>
<MACRO>
<NAME>QUERY_LISTENER</NAME>
#define QUERY_LISTENER(obj)            (GTK_CHECK_CAST ((obj), QUERY_LISTENER_TYPE, QueryListener))
</MACRO>
<MACRO>
<NAME>QUERY_LISTENER_CLASS</NAME>
#define QUERY_LISTENER_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), QUERY_LISTENER_TYPE, \
                    QueryListenerClass))
</MACRO>
<MACRO>
<NAME>IS_QUERY_LISTENER</NAME>
#define IS_QUERY_LISTENER(obj)         (GTK_CHECK_TYPE ((obj), QUERY_LISTENER_TYPE))
</MACRO>
<MACRO>
<NAME>IS_QUERY_LISTENER_CLASS</NAME>
#define IS_QUERY_LISTENER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), QUERY_LISTENER_TYPE))
</MACRO>
<STRUCT>
<NAME>QueryListenerPrivate</NAME>
</STRUCT>
<TYPEDEF>
<NAME>QueryListener</NAME>
typedef struct {
    BonoboXObject xobject;

    /* Private data */
    QueryListenerPrivate *priv;
} QueryListener;
</TYPEDEF>
<USER_FUNCTION>
<NAME>QueryListenerObjUpdatedFn</NAME>
<RETURNS>void </RETURNS>
QueryListener *ql,
                        const GNOME_Evolution_Calendar_CalObjUID uid,
                        CORBA_boolean query_in_progress,
                        CORBA_long n_scanned,
                        CORBA_long total,
                        gpointer data
</USER_FUNCTION>
<USER_FUNCTION>
<NAME>QueryListenerObjRemovedFn</NAME>
<RETURNS>void </RETURNS>
QueryListener *ql,
                        const GNOME_Evolution_Calendar_CalObjUID uid,
                        gpointer data
</USER_FUNCTION>
<USER_FUNCTION>
<NAME>QueryListenerQueryDoneFn</NAME>
<RETURNS>void </RETURNS>

    QueryListener *ql,
    GNOME_Evolution_Calendar_QueryListener_QueryDoneStatus status,
    const CORBA_char *error_str,
    gpointer data
</USER_FUNCTION>
<USER_FUNCTION>
<NAME>QueryListenerEvalErrorFn</NAME>
<RETURNS>void </RETURNS>
QueryListener *ql,
                       const CORBA_char *error_str,
                       gpointer data
</USER_FUNCTION>
<FUNCTION>
<NAME>query_listener_get_type</NAME>
<RETURNS>GtkType  </RETURNS>
void
</FUNCTION>
<FUNCTION>
<NAME>query_listener_construct</NAME>
<RETURNS>QueryListener  *</RETURNS>
QueryListener *ql,QueryListenerObjUpdatedFn obj_updated_fn,QueryListenerObjRemovedFn obj_removed_fn,QueryListenerQueryDoneFn query_done_fn,QueryListenerEvalErrorFn eval_error_fn,gpointer fn_data
</FUNCTION>
<FUNCTION>
<NAME>query_listener_new</NAME>
<RETURNS>QueryListener  *</RETURNS>
QueryListenerObjUpdatedFn obj_updated_fn,QueryListenerObjRemovedFn obj_removed_fn,QueryListenerQueryDoneFn query_done_fn,QueryListenerEvalErrorFn eval_error_fn,gpointer fn_data
</FUNCTION>