14#include "libical_ical_export.h"
15#include "icalderivedproperty.h"
22LIBICAL_ICAL_EXPORT icalproperty *icalproperty_new(icalproperty_kind kind);
24LIBICAL_ICAL_EXPORT icalproperty *icalproperty_new_impl(icalproperty_kind kind);
33LIBICAL_ICAL_EXPORT icalproperty *icalproperty_new_from_string(
const char *str);
35LIBICAL_ICAL_EXPORT
const char *icalproperty_as_ical_string(icalproperty *prop);
37LIBICAL_ICAL_EXPORT
char *icalproperty_as_ical_string_r(icalproperty *prop);
39LIBICAL_ICAL_EXPORT
void icalproperty_free(icalproperty *prop);
41LIBICAL_ICAL_EXPORT icalproperty_kind icalproperty_isa(icalproperty *property);
43LIBICAL_ICAL_EXPORT
bool icalproperty_isa_property(
void *property);
45LIBICAL_ICAL_EXPORT
void icalproperty_add_parameters(
struct icalproperty_impl *prop, va_list args);
47LIBICAL_ICAL_EXPORT
void icalproperty_add_parameter(icalproperty *prop, icalparameter *parameter);
49LIBICAL_ICAL_EXPORT
void icalproperty_set_parameter(icalproperty *prop, icalparameter *parameter);
51LIBICAL_ICAL_EXPORT
void icalproperty_set_parameter_from_string(icalproperty *prop,
54LIBICAL_ICAL_EXPORT
const char *icalproperty_get_parameter_as_string(icalproperty *prop,
57LIBICAL_ICAL_EXPORT
char *icalproperty_get_parameter_as_string_r(icalproperty *prop,
70 icalparameter_kind kind);
97 icalparameter *param);
99LIBICAL_ICAL_EXPORT
int icalproperty_count_parameters(
const icalproperty *prop);
102LIBICAL_ICAL_EXPORT icalparameter *icalproperty_get_first_parameter(icalproperty *prop,
103 icalparameter_kind kind);
104LIBICAL_ICAL_EXPORT icalparameter *icalproperty_get_next_parameter(icalproperty *prop,
105 icalparameter_kind kind);
107LIBICAL_ICAL_EXPORT
void icalproperty_set_value(icalproperty *prop, icalvalue *value);
108LIBICAL_ICAL_EXPORT
void icalproperty_set_value_from_string(icalproperty *prop,
const char *value,
111LIBICAL_ICAL_EXPORT icalvalue *icalproperty_get_value(
const icalproperty *prop);
112LIBICAL_ICAL_EXPORT
const char *icalproperty_get_value_as_string(
const icalproperty *prop);
113LIBICAL_ICAL_EXPORT
char *icalproperty_get_value_as_string_r(
const icalproperty *prop);
128LIBICAL_ICAL_EXPORT
void icalproperty_set_x_name(icalproperty *prop,
const char *name);
129LIBICAL_ICAL_EXPORT
const char *icalproperty_get_x_name(icalproperty *prop);
136LIBICAL_ICAL_EXPORT
char *icalproperty_get_property_name_r(
const icalproperty *prop);
138LIBICAL_ICAL_EXPORT icalvalue_kind icalparameter_value_to_value_kind(icalparameter_value value);
153LIBICAL_ICAL_EXPORT icalvalue_kind icalproperty_kind_to_value_kind(icalproperty_kind kind);
154LIBICAL_ICAL_EXPORT icalproperty_kind icalproperty_value_kind_to_kind(icalvalue_kind kind);
155LIBICAL_ICAL_EXPORT
const char *icalproperty_kind_to_string(icalproperty_kind kind);
156LIBICAL_ICAL_EXPORT icalproperty_kind icalproperty_string_to_kind(
const char *
string);
161LIBICAL_ICAL_EXPORT icalproperty_method icalproperty_string_to_method(
const char *str);
162LIBICAL_ICAL_EXPORT
const char *icalproperty_method_to_string(icalproperty_method method);
164LIBICAL_ICAL_EXPORT
const char *icalproperty_enum_to_string(
int e);
165LIBICAL_ICAL_EXPORT
char *icalproperty_enum_to_string_r(
int e);
166LIBICAL_ICAL_EXPORT
int icalproperty_kind_and_string_to_enum(
const int kind,
const char *str);
168LIBICAL_ICAL_EXPORT
const char *icalproperty_status_to_string(icalproperty_status);
169LIBICAL_ICAL_EXPORT icalproperty_status icalproperty_string_to_status(
const char *
string);
171LIBICAL_ICAL_EXPORT
const char *icalproperty_action_to_string(icalproperty_action);
172LIBICAL_ICAL_EXPORT icalproperty_action icalproperty_string_to_action(
const char *
string);
174LIBICAL_ICAL_EXPORT
const char *icalproperty_transp_to_string(icalproperty_transp);
175LIBICAL_ICAL_EXPORT icalproperty_transp icalproperty_string_to_transp(
const char *
string);
177LIBICAL_ICAL_EXPORT
const char *icalproperty_class_to_string(icalproperty_class);
178LIBICAL_ICAL_EXPORT icalproperty_class icalproperty_string_to_class(
const char *
string);
180LIBICAL_ICAL_EXPORT
const char *icalproperty_participanttype_to_string(icalproperty_participanttype);
181LIBICAL_ICAL_EXPORT icalproperty_participanttype icalproperty_string_to_participanttype(
const char *
string);
183LIBICAL_ICAL_EXPORT
const char *icalproperty_resourcetype_to_string(icalproperty_resourcetype);
184LIBICAL_ICAL_EXPORT icalproperty_resourcetype icalproperty_string_to_resourcetype(
const char *
string);
186LIBICAL_ICAL_EXPORT
bool icalproperty_enum_belongs_to_property(icalproperty_kind kind,
int e);
197 icalparameter_kind kind;
201LIBICAL_ICAL_EXPORT
icalparamiter icalproperty_begin_parameter(icalproperty *property, icalparameter_kind kind);
203LIBICAL_ICAL_EXPORT icalparameter *icalparamiter_next(
icalparamiter *i);
205LIBICAL_ICAL_EXPORT icalparameter *icalparamiter_deref(
icalparamiter *i);
icalproperty * icalproperty_clone(const icalproperty *prop)
Deeply clones an icalproperty.
Definition icalproperty.c:82
void icalproperty_remove_parameter_by_ref(icalproperty *prop, icalparameter *param)
Removes the specified parameter reference from the property.
Definition icalproperty.c:664
void icalproperty_remove_parameter_by_name(icalproperty *prop, const char *name)
Removes all parameters with the specified name.
Definition icalproperty.c:635
void icalproperty_remove_parameter_by_kind(icalproperty *prop, icalparameter_kind kind)
Removes all parameters with the specified kind.
Definition icalproperty.c:618
const char * icalproperty_get_property_name(const icalproperty *prop)
Definition icalproperty.c:855
void icalproperty_normalize(icalproperty *prop)
Definition icalproperty.c:917
void icalvalue_set_parent(icalvalue *value, icalproperty *property)
Definition icalvalue.c:1489
icalproperty * icalparameter_get_parent(icalparameter *param)
Definition icalparameter.c:411
icalproperty * icalvalue_get_parent(icalvalue *value)
Definition icalvalue.c:1496
void icalparameter_set_parent(icalparameter *param, icalproperty *property)
Definition icalparameter.c:404
bool icalproperty_kind_is_valid(const icalproperty_kind kind)
Definition icalproperty.h:196
Definition icalproperty.c:27