/usr/include/libical/icalderivedvalue.h is in libical-dev 1.0-1.3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 | /* -*- Mode: C -*- */
/*======================================================================
FILE: icalvalue.h
CREATOR: eric 20 March 1999
$Id: icalderivedvalue.h.in,v 1.10 2007-04-30 13:57:48 artcancro Exp $
$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/
The original code is icalvalue.h
======================================================================*/
#ifndef ICALDERIVEDVALUE_H
#define ICALDERIVEDVALUE_H
#include "icaltypes.h"
#include "icalrecur.h"
#include "icaltime.h"
#include "icalduration.h"
#include "icalperiod.h"
#include "icalattach.h"
typedef struct icalvalue_impl icalvalue;
void icalvalue_set_x(icalvalue* value, const char* v);
icalvalue* icalvalue_new_x(const char* v);
const char* icalvalue_get_x(const icalvalue* value);
icalvalue* icalvalue_new_recur (struct icalrecurrencetype v);
void icalvalue_set_recur(icalvalue* value, struct icalrecurrencetype v);
struct icalrecurrencetype icalvalue_get_recur(const icalvalue* value);
icalvalue* icalvalue_new_trigger (struct icaltriggertype v);
void icalvalue_set_trigger(icalvalue* value, struct icaltriggertype v);
struct icaltriggertype icalvalue_get_trigger(const icalvalue* value);
icalvalue* icalvalue_new_datetime(struct icaltimetype v);
struct icaltimetype icalvalue_get_datetime(const icalvalue* value);
void icalvalue_set_datetime(icalvalue* value, struct icaltimetype v);
icalvalue* icalvalue_new_datetimeperiod (struct icaldatetimeperiodtype v);
void icalvalue_set_datetimeperiod(icalvalue* value, struct icaldatetimeperiodtype v);
struct icaldatetimeperiodtype icalvalue_get_datetimeperiod(const icalvalue* value);
/* GEO */
icalvalue* icalvalue_new_geo(struct icalgeotype v);
struct icalgeotype icalvalue_get_geo(const icalvalue* value);
void icalvalue_set_geo(icalvalue* value, struct icalgeotype v);
icalvalue *icalvalue_new_attach (icalattach *attach);
void icalvalue_set_attach (icalvalue *value, icalattach *attach);
icalattach *icalvalue_get_attach (const icalvalue *value);
void icalvalue_reset_kind(icalvalue* value);
typedef enum icalvalue_kind {
ICAL_ANY_VALUE=5000,
ICAL_ACTION_VALUE=5001,
ICAL_ATTACH_VALUE=5002,
ICAL_BINARY_VALUE=5003,
ICAL_BOOLEAN_VALUE=5004,
ICAL_CALADDRESS_VALUE=5005,
ICAL_CARLEVEL_VALUE=5006,
ICAL_CLASS_VALUE=5007,
ICAL_CMD_VALUE=5008,
ICAL_DATE_VALUE=5009,
ICAL_DATETIME_VALUE=5010,
ICAL_DATETIMEPERIOD_VALUE=5011,
ICAL_DURATION_VALUE=5012,
ICAL_FLOAT_VALUE=5013,
ICAL_GEO_VALUE=5014,
ICAL_INTEGER_VALUE=5015,
ICAL_METHOD_VALUE=5016,
ICAL_PERIOD_VALUE=5017,
ICAL_QUERY_VALUE=5018,
ICAL_QUERYLEVEL_VALUE=5019,
ICAL_RECUR_VALUE=5020,
ICAL_REQUESTSTATUS_VALUE=5021,
ICAL_STATUS_VALUE=5022,
ICAL_STRING_VALUE=5023,
ICAL_TEXT_VALUE=5024,
ICAL_TRANSP_VALUE=5025,
ICAL_TRIGGER_VALUE=5026,
ICAL_URI_VALUE=5027,
ICAL_UTCOFFSET_VALUE=5028,
ICAL_X_VALUE=5029,
ICAL_XLICCLASS_VALUE=5030,
ICAL_NO_VALUE=5031
} icalvalue_kind ;
#define ICALPROPERTY_FIRST_ENUM 10000
typedef enum icalproperty_action {
ICAL_ACTION_X = 10000,
ICAL_ACTION_AUDIO = 10001,
ICAL_ACTION_DISPLAY = 10002,
ICAL_ACTION_EMAIL = 10003,
ICAL_ACTION_PROCEDURE = 10004,
ICAL_ACTION_NONE = 10005
} icalproperty_action;
typedef enum icalproperty_carlevel {
ICAL_CARLEVEL_X = 10006,
ICAL_CARLEVEL_CARNONE = 10007,
ICAL_CARLEVEL_CARMIN = 10008,
ICAL_CARLEVEL_CARFULL1 = 10009,
ICAL_CARLEVEL_NONE = 10010
} icalproperty_carlevel;
typedef enum icalproperty_class {
ICAL_CLASS_X = 10011,
ICAL_CLASS_PUBLIC = 10012,
ICAL_CLASS_PRIVATE = 10013,
ICAL_CLASS_CONFIDENTIAL = 10014,
ICAL_CLASS_NONE = 10015
} icalproperty_class;
typedef enum icalproperty_cmd {
ICAL_CMD_X = 10016,
ICAL_CMD_ABORT = 10017,
ICAL_CMD_CONTINUE = 10018,
ICAL_CMD_CREATE = 10019,
ICAL_CMD_DELETE = 10020,
ICAL_CMD_GENERATEUID = 10021,
ICAL_CMD_GETCAPABILITY = 10022,
ICAL_CMD_IDENTIFY = 10023,
ICAL_CMD_MODIFY = 10024,
ICAL_CMD_MOVE = 10025,
ICAL_CMD_REPLY = 10026,
ICAL_CMD_SEARCH = 10027,
ICAL_CMD_SETLOCALE = 10028,
ICAL_CMD_NONE = 10029
} icalproperty_cmd;
typedef enum icalproperty_method {
ICAL_METHOD_X = 10030,
ICAL_METHOD_PUBLISH = 10031,
ICAL_METHOD_REQUEST = 10032,
ICAL_METHOD_REPLY = 10033,
ICAL_METHOD_ADD = 10034,
ICAL_METHOD_CANCEL = 10035,
ICAL_METHOD_REFRESH = 10036,
ICAL_METHOD_COUNTER = 10037,
ICAL_METHOD_DECLINECOUNTER = 10038,
ICAL_METHOD_CREATE = 10039,
ICAL_METHOD_READ = 10040,
ICAL_METHOD_RESPONSE = 10041,
ICAL_METHOD_MOVE = 10042,
ICAL_METHOD_MODIFY = 10043,
ICAL_METHOD_GENERATEUID = 10044,
ICAL_METHOD_DELETE = 10045,
ICAL_METHOD_NONE = 10046
} icalproperty_method;
typedef enum icalproperty_querylevel {
ICAL_QUERYLEVEL_X = 10047,
ICAL_QUERYLEVEL_CALQL1 = 10048,
ICAL_QUERYLEVEL_CALQLNONE = 10049,
ICAL_QUERYLEVEL_NONE = 10050
} icalproperty_querylevel;
typedef enum icalproperty_status {
ICAL_STATUS_X = 10051,
ICAL_STATUS_TENTATIVE = 10052,
ICAL_STATUS_CONFIRMED = 10053,
ICAL_STATUS_COMPLETED = 10054,
ICAL_STATUS_NEEDSACTION = 10055,
ICAL_STATUS_CANCELLED = 10056,
ICAL_STATUS_INPROCESS = 10057,
ICAL_STATUS_DRAFT = 10058,
ICAL_STATUS_FINAL = 10059,
ICAL_STATUS_NONE = 10060
} icalproperty_status;
typedef enum icalproperty_transp {
ICAL_TRANSP_X = 10061,
ICAL_TRANSP_OPAQUE = 10062,
ICAL_TRANSP_OPAQUENOCONFLICT = 10063,
ICAL_TRANSP_TRANSPARENT = 10064,
ICAL_TRANSP_TRANSPARENTNOCONFLICT = 10065,
ICAL_TRANSP_NONE = 10066
} icalproperty_transp;
typedef enum icalproperty_xlicclass {
ICAL_XLICCLASS_X = 10067,
ICAL_XLICCLASS_PUBLISHNEW = 10068,
ICAL_XLICCLASS_PUBLISHUPDATE = 10069,
ICAL_XLICCLASS_PUBLISHFREEBUSY = 10070,
ICAL_XLICCLASS_REQUESTNEW = 10071,
ICAL_XLICCLASS_REQUESTUPDATE = 10072,
ICAL_XLICCLASS_REQUESTRESCHEDULE = 10073,
ICAL_XLICCLASS_REQUESTDELEGATE = 10074,
ICAL_XLICCLASS_REQUESTNEWORGANIZER = 10075,
ICAL_XLICCLASS_REQUESTFORWARD = 10076,
ICAL_XLICCLASS_REQUESTSTATUS = 10077,
ICAL_XLICCLASS_REQUESTFREEBUSY = 10078,
ICAL_XLICCLASS_REPLYACCEPT = 10079,
ICAL_XLICCLASS_REPLYDECLINE = 10080,
ICAL_XLICCLASS_REPLYDELEGATE = 10081,
ICAL_XLICCLASS_REPLYCRASHERACCEPT = 10082,
ICAL_XLICCLASS_REPLYCRASHERDECLINE = 10083,
ICAL_XLICCLASS_ADDINSTANCE = 10084,
ICAL_XLICCLASS_CANCELEVENT = 10085,
ICAL_XLICCLASS_CANCELINSTANCE = 10086,
ICAL_XLICCLASS_CANCELALL = 10087,
ICAL_XLICCLASS_REFRESH = 10088,
ICAL_XLICCLASS_COUNTER = 10089,
ICAL_XLICCLASS_DECLINECOUNTER = 10090,
ICAL_XLICCLASS_MALFORMED = 10091,
ICAL_XLICCLASS_OBSOLETE = 10092,
ICAL_XLICCLASS_MISSEQUENCED = 10093,
ICAL_XLICCLASS_UNKNOWN = 10094,
ICAL_XLICCLASS_NONE = 10095
} icalproperty_xlicclass;
#define ICALPROPERTY_LAST_ENUM 10096
/* ACTION */
icalvalue* icalvalue_new_action(enum icalproperty_action v);
enum icalproperty_action icalvalue_get_action(const icalvalue* value);
void icalvalue_set_action(icalvalue* value, enum icalproperty_action v);
/* BINARY */
icalvalue* icalvalue_new_binary(const char* v);
const char* icalvalue_get_binary(const icalvalue* value);
void icalvalue_set_binary(icalvalue* value, const char* v);
/* BOOLEAN */
icalvalue* icalvalue_new_boolean(int v);
int icalvalue_get_boolean(const icalvalue* value);
void icalvalue_set_boolean(icalvalue* value, int v);
/* CAL-ADDRESS */
icalvalue* icalvalue_new_caladdress(const char* v);
const char* icalvalue_get_caladdress(const icalvalue* value);
void icalvalue_set_caladdress(icalvalue* value, const char* v);
/* CAR-LEVEL */
icalvalue* icalvalue_new_carlevel(enum icalproperty_carlevel v);
enum icalproperty_carlevel icalvalue_get_carlevel(const icalvalue* value);
void icalvalue_set_carlevel(icalvalue* value, enum icalproperty_carlevel v);
/* CMD */
icalvalue* icalvalue_new_cmd(enum icalproperty_cmd v);
enum icalproperty_cmd icalvalue_get_cmd(const icalvalue* value);
void icalvalue_set_cmd(icalvalue* value, enum icalproperty_cmd v);
/* DATE */
icalvalue* icalvalue_new_date(struct icaltimetype v);
struct icaltimetype icalvalue_get_date(const icalvalue* value);
void icalvalue_set_date(icalvalue* value, struct icaltimetype v);
/* DURATION */
icalvalue* icalvalue_new_duration(struct icaldurationtype v);
struct icaldurationtype icalvalue_get_duration(const icalvalue* value);
void icalvalue_set_duration(icalvalue* value, struct icaldurationtype v);
/* FLOAT */
icalvalue* icalvalue_new_float(float v);
float icalvalue_get_float(const icalvalue* value);
void icalvalue_set_float(icalvalue* value, float v);
/* INTEGER */
icalvalue* icalvalue_new_integer(int v);
int icalvalue_get_integer(const icalvalue* value);
void icalvalue_set_integer(icalvalue* value, int v);
/* METHOD */
icalvalue* icalvalue_new_method(enum icalproperty_method v);
enum icalproperty_method icalvalue_get_method(const icalvalue* value);
void icalvalue_set_method(icalvalue* value, enum icalproperty_method v);
/* PERIOD */
icalvalue* icalvalue_new_period(struct icalperiodtype v);
struct icalperiodtype icalvalue_get_period(const icalvalue* value);
void icalvalue_set_period(icalvalue* value, struct icalperiodtype v);
/* QUERY */
icalvalue* icalvalue_new_query(const char* v);
const char* icalvalue_get_query(const icalvalue* value);
void icalvalue_set_query(icalvalue* value, const char* v);
/* QUERY-LEVEL */
icalvalue* icalvalue_new_querylevel(enum icalproperty_querylevel v);
enum icalproperty_querylevel icalvalue_get_querylevel(const icalvalue* value);
void icalvalue_set_querylevel(icalvalue* value, enum icalproperty_querylevel v);
/* REQUEST-STATUS */
icalvalue* icalvalue_new_requeststatus(struct icalreqstattype v);
struct icalreqstattype icalvalue_get_requeststatus(const icalvalue* value);
void icalvalue_set_requeststatus(icalvalue* value, struct icalreqstattype v);
/* STATUS */
icalvalue* icalvalue_new_status(enum icalproperty_status v);
enum icalproperty_status icalvalue_get_status(const icalvalue* value);
void icalvalue_set_status(icalvalue* value, enum icalproperty_status v);
/* STRING */
icalvalue* icalvalue_new_string(const char* v);
const char* icalvalue_get_string(const icalvalue* value);
void icalvalue_set_string(icalvalue* value, const char* v);
/* TEXT */
icalvalue* icalvalue_new_text(const char* v);
const char* icalvalue_get_text(const icalvalue* value);
void icalvalue_set_text(icalvalue* value, const char* v);
/* TRANSP */
icalvalue* icalvalue_new_transp(enum icalproperty_transp v);
enum icalproperty_transp icalvalue_get_transp(const icalvalue* value);
void icalvalue_set_transp(icalvalue* value, enum icalproperty_transp v);
/* URI */
icalvalue* icalvalue_new_uri(const char* v);
const char* icalvalue_get_uri(const icalvalue* value);
void icalvalue_set_uri(icalvalue* value, const char* v);
/* UTC-OFFSET */
icalvalue* icalvalue_new_utcoffset(int v);
int icalvalue_get_utcoffset(const icalvalue* value);
void icalvalue_set_utcoffset(icalvalue* value, int v);
/* X-LIC-CLASS */
icalvalue* icalvalue_new_xlicclass(enum icalproperty_xlicclass v);
enum icalproperty_xlicclass icalvalue_get_xlicclass(const icalvalue* value);
void icalvalue_set_xlicclass(icalvalue* value, enum icalproperty_xlicclass v);
#endif /*ICALVALUE_H*/
icalvalue* icalvalue_new_class(enum icalproperty_class v);
enum icalproperty_class icalvalue_get_class(const icalvalue* value);
void icalvalue_set_class(icalvalue* value, enum icalproperty_class v);
|