12#include "libical_ical_export.h"
13#include "icalderivedproperty.h"
20LIBICAL_ICAL_EXPORT icalproperty *icalproperty_new(icalproperty_kind kind);
29LIBICAL_ICAL_EXPORT icalproperty *icalproperty_new_from_string(
const char *str);
31LIBICAL_ICAL_EXPORT
const char *icalproperty_as_ical_string(icalproperty *prop);
33LIBICAL_ICAL_EXPORT
char *icalproperty_as_ical_string_r(icalproperty *prop);
35LIBICAL_ICAL_EXPORT
void icalproperty_free(icalproperty *prop);
37LIBICAL_ICAL_EXPORT icalproperty_kind icalproperty_isa(
const icalproperty *property);
39LIBICAL_ICAL_EXPORT
bool icalproperty_isa_property(
void *property);
41LIBICAL_ICAL_EXPORT
void icalproperty_add_parameters(
struct icalproperty_impl *prop, va_list args);
43LIBICAL_ICAL_EXPORT
void icalproperty_add_parameter(icalproperty *prop, icalparameter *parameter);
45LIBICAL_ICAL_EXPORT
void icalproperty_set_parameter(icalproperty *prop, icalparameter *parameter);
47LIBICAL_ICAL_EXPORT
void icalproperty_set_parameter_from_string(icalproperty *prop,
50LIBICAL_ICAL_EXPORT
const char *icalproperty_get_parameter_as_string(icalproperty *prop,
53LIBICAL_ICAL_EXPORT
char *icalproperty_get_parameter_as_string_r(icalproperty *prop,
66 icalparameter_kind kind);
93 icalparameter *param);
95LIBICAL_ICAL_EXPORT
int icalproperty_count_parameters(
const icalproperty *prop);
98LIBICAL_ICAL_EXPORT icalparameter *icalproperty_get_first_parameter(icalproperty *prop,
99 icalparameter_kind kind);
100LIBICAL_ICAL_EXPORT icalparameter *icalproperty_get_next_parameter(icalproperty *prop,
101 icalparameter_kind kind);
103LIBICAL_ICAL_EXPORT
void icalproperty_set_value(icalproperty *prop, icalvalue *value);
104LIBICAL_ICAL_EXPORT
void icalproperty_set_value_from_string(icalproperty *prop,
const char *str,
107LIBICAL_ICAL_EXPORT icalvalue *icalproperty_get_value(
const icalproperty *prop);
108LIBICAL_ICAL_EXPORT
const char *icalproperty_get_value_as_string(
const icalproperty *prop);
109LIBICAL_ICAL_EXPORT
char *icalproperty_get_value_as_string_r(
const icalproperty *prop);
124LIBICAL_ICAL_EXPORT
void icalproperty_set_x_name(icalproperty *prop,
const char *name);
125LIBICAL_ICAL_EXPORT
const char *icalproperty_get_x_name(
const icalproperty *prop);
154LIBICAL_ICAL_EXPORT
char *icalproperty_get_property_name_r(
const icalproperty *prop);
156LIBICAL_ICAL_EXPORT icalvalue_kind icalparameter_value_to_value_kind(icalparameter_value value);
171LIBICAL_ICAL_EXPORT icalvalue_kind icalproperty_kind_to_value_kind(icalproperty_kind kind);
172LIBICAL_ICAL_EXPORT icalproperty_kind icalproperty_value_kind_to_kind(icalvalue_kind kind);
173LIBICAL_ICAL_EXPORT
const char *icalproperty_kind_to_string(icalproperty_kind kind);
174LIBICAL_ICAL_EXPORT icalproperty_kind icalproperty_string_to_kind(
const char *
string);
179LIBICAL_ICAL_EXPORT icalproperty_method icalproperty_string_to_method(
const char *str);
180LIBICAL_ICAL_EXPORT
const char *icalproperty_method_to_string(icalproperty_method method);
182LIBICAL_ICAL_EXPORT
const char *icalproperty_enum_to_string(
int e);
183LIBICAL_ICAL_EXPORT
char *icalproperty_enum_to_string_r(
int e);
184LIBICAL_ICAL_EXPORT
int icalproperty_kind_and_string_to_enum(
const int kind,
const char *str);
186LIBICAL_ICAL_EXPORT
const char *icalproperty_status_to_string(icalproperty_status);
187LIBICAL_ICAL_EXPORT icalproperty_status icalproperty_string_to_status(
const char *
string);
189LIBICAL_ICAL_EXPORT
const char *icalproperty_action_to_string(icalproperty_action);
190LIBICAL_ICAL_EXPORT icalproperty_action icalproperty_string_to_action(
const char *
string);
192LIBICAL_ICAL_EXPORT
const char *icalproperty_transp_to_string(icalproperty_transp);
193LIBICAL_ICAL_EXPORT icalproperty_transp icalproperty_string_to_transp(
const char *
string);
195LIBICAL_ICAL_EXPORT
const char *icalproperty_class_to_string(icalproperty_class);
196LIBICAL_ICAL_EXPORT icalproperty_class icalproperty_string_to_class(
const char *
string);
198LIBICAL_ICAL_EXPORT
const char *icalproperty_participanttype_to_string(icalproperty_participanttype);
199LIBICAL_ICAL_EXPORT icalproperty_participanttype icalproperty_string_to_participanttype(
const char *
string);
201LIBICAL_ICAL_EXPORT
const char *icalproperty_resourcetype_to_string(icalproperty_resourcetype);
202LIBICAL_ICAL_EXPORT icalproperty_resourcetype icalproperty_string_to_resourcetype(
const char *
string);
204LIBICAL_ICAL_EXPORT
bool icalproperty_enum_belongs_to_property(icalproperty_kind kind,
int e);
240 icalparameter_kind kind;
244LIBICAL_ICAL_EXPORT
icalparamiter icalproperty_begin_parameter(icalproperty *property, icalparameter_kind kind);
246LIBICAL_ICAL_EXPORT icalparameter *icalparamiter_next(
icalparamiter *i);
248LIBICAL_ICAL_EXPORT icalparameter *icalparamiter_deref(
icalparamiter *i);
icalproperty * icalvalue_get_parent(const icalvalue *value)
Definition icalvalue.c:1539
icalproperty * icalparameter_get_parent(const icalparameter *param)
Definition icalparameter.c:363
void icalproperty_remove_parameter_by_ref(icalproperty *prop, icalparameter *param)
Removes the specified parameter reference from the property.
Definition icalproperty.c:673
void icalproperty_set_allow_empty_properties(bool enable)
Definition icalproperty.c:59
void icalproperty_remove_parameter_by_name(icalproperty *prop, const char *name)
Removes all parameters with the specified name.
Definition icalproperty.c:642
void icalproperty_remove_parameter_by_kind(icalproperty *prop, icalparameter_kind kind)
Removes all parameters with the specified kind.
Definition icalproperty.c:624
const char * icalproperty_get_property_name(const icalproperty *prop)
Definition icalproperty.c:883
bool icalproperty_get_allow_empty_properties(void)
Definition icalproperty.c:64
void icalproperty_normalize(icalproperty *prop)
Definition icalproperty.c:945
void icalvalue_set_parent(icalvalue *value, icalproperty *property)
Definition icalvalue.c:1532
icalproperty * icalproperty_clone(const icalproperty *old)
Deeply clones an icalproperty.
Definition icalproperty.c:92
const char * icalproperty_get_iana_name(const icalproperty *prop)
Definition icalproperty.c:875
void icalproperty_set_iana_name(icalproperty *prop, const char *name)
Definition icalproperty.c:861
void icalparameter_set_parent(icalparameter *param, icalproperty *property)
Definition icalparameter.c:356
bool icalproperty_kind_is_valid(const icalproperty_kind kind)
Definition icalproperty.h:239