22#include "libical_ical_export.h"
23#include "icalvalueimpl.h"
27#define ICAL_BOOLEAN_TRUE 1
28#define ICAL_BOOLEAN_FALSE 0
30LIBICAL_ICAL_EXPORT icalvalue *icalvalue_new(icalvalue_kind kind);
32LIBICAL_ICAL_EXPORT icalvalue *icalvalue_new_clone(
const icalvalue *value);
34LIBICAL_ICAL_EXPORT icalvalue *icalvalue_new_from_string(icalvalue_kind kind,
const char *str);
36LIBICAL_ICAL_EXPORT
void icalvalue_free(icalvalue *value);
38LIBICAL_ICAL_EXPORT
int icalvalue_is_valid(
const icalvalue *value);
40LIBICAL_ICAL_EXPORT
const char *icalvalue_as_ical_string(
const icalvalue *value);
42LIBICAL_ICAL_EXPORT
char *icalvalue_as_ical_string_r(
const icalvalue *value);
44LIBICAL_ICAL_EXPORT icalvalue_kind icalvalue_isa(
const icalvalue *value);
46LIBICAL_ICAL_EXPORT
int icalvalue_isa_value(
void *);
48LIBICAL_ICAL_EXPORT icalparameter_xliccomparetype icalvalue_compare(
const icalvalue *a,
69LIBICAL_ICAL_EXPORT icalvalue_kind icalvalue_string_to_kind(
const char *str);
71LIBICAL_ICAL_EXPORT
const char *icalvalue_kind_to_string(
const icalvalue_kind kind);
78 char *szEncText,
int MaxBufferLen);
82 char *szDecText,
int nMaxBufferLen);
86extern void print_date_to_string(
char *str,
const struct icaltimetype *data);
87extern void print_datetime_to_string(
char *str,
const struct icaltimetype *data);
int icalvalue_encode_ical_string(const char *szText, char *szEncText, int MaxBufferLen)
Definition icalvalue.c:1503
int icalvalue_decode_ical_string(const char *szText, char *szDecText, int nMaxBufferLen)
Definition icalvalue.c:1534
int icalvalue_kind_is_valid(const icalvalue_kind kind)
Definition icaltime.h:105