|
Libical API Documentation 4.0 STABLE VERSION [Visit the v3.0 documentation]
|
Defines the data structure representing vCard properties. More...
Go to the source code of this file.
Defines the data structure representing vCard properties.
Definition in file vcardproperty.h.
| vcardproperty * vcardparameter_get_parent | ( | const vcardparameter * | param | ) |
Returns the parent vcardproperty for the specified vcardparameter.
Definition at line 385 of file vcardparameter.c.
| void vcardparameter_set_parent | ( | vcardparameter * | param, |
| vcardproperty * | property ) |
Sets the parent vcardproperty for the specified vcardparameter.
Definition at line 378 of file vcardparameter.c.
| vcardvalue_kind vcardparameter_value_to_value_kind | ( | vcardparameter_value | value | ) |
| void vcardproperty_add_parameter | ( | vcardproperty * | prop, |
| vcardparameter * | parameter ) |
Definition at line 546 of file vcardproperty.c.
| void vcardproperty_add_parameters | ( | struct vcardproperty_impl * | prop, |
| va_list | args ) |
| void vcardproperty_add_type_parameter | ( | vcardproperty * | prop, |
| vcardenumarray_element * | type ) |
Definition at line 1122 of file vcardproperty.c.
| const char * vcardproperty_as_vcard_string | ( | vcardproperty * | prop | ) |
Definition at line 421 of file vcardproperty.c.
| char * vcardproperty_as_vcard_string_r | ( | vcardproperty * | prop | ) |
Definition at line 430 of file vcardproperty.c.
| vcardproperty * vcardproperty_clone | ( | const vcardproperty * | old | ) |
Deeply clones an vcardproperty.
Returns a pointer to the memory for the newly cloned vcardproperty.
Definition at line 87 of file vcardproperty.c.
| int vcardproperty_count_parameters | ( | const vcardproperty * | prop | ) |
Definition at line 754 of file vcardproperty.c.
| bool vcardproperty_enum_belongs_to_property | ( | vcardproperty_kind | kind, |
| int | e ) |
| const char * vcardproperty_enum_to_string | ( | int | e | ) |
| char * vcardproperty_enum_to_string_r | ( | int | e | ) |
| void vcardproperty_free | ( | vcardproperty * | prop | ) |
Definition at line 171 of file vcardproperty.c.
| vcardparameter * vcardproperty_get_first_parameter | ( | vcardproperty * | prop, |
| vcardparameter_kind | kind ) |
Definition at line 764 of file vcardproperty.c.
| const char * vcardproperty_get_group | ( | const vcardproperty * | prop | ) |
Definition at line 944 of file vcardproperty.c.
| vcardparameter * vcardproperty_get_next_parameter | ( | vcardproperty * | prop, |
| vcardparameter_kind | kind ) |
Definition at line 786 of file vcardproperty.c.
| const char * vcardproperty_get_parameter_as_string | ( | vcardproperty * | prop, |
| const char * | name ) |
Definition at line 606 of file vcardproperty.c.
| char * vcardproperty_get_parameter_as_string_r | ( | vcardproperty * | prop, |
| const char * | name ) |
Definition at line 615 of file vcardproperty.c.
| const char * vcardproperty_get_property_name | ( | const vcardproperty * | prop | ) |
Returns the name of the property – the type name converted to a string, or the value of _get_x_name if the type is and X property
Definition at line 951 of file vcardproperty.c.
| char * vcardproperty_get_property_name_r | ( | const vcardproperty * | prop | ) |
Definition at line 960 of file vcardproperty.c.
| vcardvalue * vcardproperty_get_value | ( | const vcardproperty * | prop | ) |
Definition at line 878 of file vcardproperty.c.
| const char * vcardproperty_get_value_as_string | ( | const vcardproperty * | prop | ) |
Definition at line 885 of file vcardproperty.c.
| char * vcardproperty_get_value_as_string_r | ( | const vcardproperty * | prop | ) |
Definition at line 894 of file vcardproperty.c.
| const char * vcardproperty_get_x_name | ( | const vcardproperty * | prop | ) |
Definition at line 921 of file vcardproperty.c.
| bool vcardproperty_is_multivalued | ( | vcardproperty_kind | pkind | ) |
| bool vcardproperty_is_structured | ( | vcardproperty_kind | pkind | ) |
| vcardproperty_kind vcardproperty_isa | ( | const vcardproperty * | property | ) |
Definition at line 529 of file vcardproperty.c.
| bool vcardproperty_isa_property | ( | void * | property | ) |
Definition at line 538 of file vcardproperty.c.
| int vcardproperty_kind_and_string_to_enum | ( | const int | kind, |
| const char * | str ) |
| bool vcardproperty_kind_is_valid | ( | const vcardproperty_kind | kind | ) |
Check validity of a specific vcardproperty_kind
| const char * vcardproperty_kind_to_string | ( | vcardproperty_kind | kind | ) |
| vcardvalue_kind vcardproperty_kind_to_value_kind | ( | vcardproperty_kind | kind | ) |
| vcardproperty * vcardproperty_new | ( | vcardproperty_kind | kind | ) |
Definition at line 78 of file vcardproperty.c.
| vcardproperty * vcardproperty_new_from_string | ( | const char * | str | ) |
Definition at line 125 of file vcardproperty.c.
| void vcardproperty_normalize | ( | vcardproperty * | prop | ) |
Normalizes (reorders and sorts the parameters) the specified vcardproperty.
Definition at line 1012 of file vcardproperty.c.
| void vcardproperty_remove_parameter_by_kind | ( | vcardproperty * | prop, |
| vcardparameter_kind | kind ) |
Removes all parameters with the specified kind.
| prop | A valid vcardproperty. |
| kind | The kind to remove (ex. VCARD_TZ_PARAMETER) |
See vcardproperty_remove_parameter_by_name() and vcardproperty_remove_parameter_by_ref() for alternate ways of removing parameters
Definition at line 689 of file vcardproperty.c.
| void vcardproperty_remove_parameter_by_name | ( | vcardproperty * | prop, |
| const char * | name ) |
Removes all parameters with the specified name.
| prop | A valid vcardproperty. |
| name | The name of the parameter to remove |
This function removes parameters with the given name. The name corresponds to either a built-in name (TZID, etc.) or the name of an extended parameter (X-FOO)
See vcardproperty_remove_parameter_by_kind() and vcardproperty_remove_parameter_by_ref() for alternate ways of removing parameters
Definition at line 706 of file vcardproperty.c.
| void vcardproperty_remove_parameter_by_ref | ( | vcardproperty * | prop, |
| vcardparameter * | param ) |
Removes the specified parameter reference from the property.
| prop | A valid vcardproperty. |
| param | A reference to a specific vcardparameter. |
This function removes the specified parameter reference from the property.
Definition at line 736 of file vcardproperty.c.
| void vcardproperty_set_group | ( | vcardproperty * | prop, |
| const char * | group ) |
Definition at line 928 of file vcardproperty.c.
| void vcardproperty_set_parameter | ( | vcardproperty * | prop, |
| vcardparameter * | parameter ) |
Definition at line 554 of file vcardproperty.c.
| void vcardproperty_set_parameter_from_string | ( | vcardproperty * | prop, |
| const char * | name, | ||
| const char * | value ) |
Definition at line 573 of file vcardproperty.c.
| void vcardproperty_set_value | ( | vcardproperty * | prop, |
| vcardvalue * | value ) |
Definition at line 806 of file vcardproperty.c.
| void vcardproperty_set_value_from_string | ( | vcardproperty * | prop, |
| const char * | str, | ||
| const char * | type ) |
Definition at line 837 of file vcardproperty.c.
| void vcardproperty_set_x_name | ( | vcardproperty * | prop, |
| const char * | name ) |
Definition at line 905 of file vcardproperty.c.
| vcardproperty_kind vcardproperty_string_to_kind | ( | const char * | string | ) |
| vcardproperty_kind vcardproperty_value_kind_to_kind | ( | vcardvalue_kind | kind | ) |
| vcardproperty * vcardvalue_get_parent | ( | const vcardvalue * | value | ) |
Returns the parent vcardproperty for the specified vcardvalue.
Definition at line 1024 of file vcardvalue.c.
| void vcardvalue_set_parent | ( | vcardvalue * | value, |
| vcardproperty * | property ) |
Sets the parent vcardproperty for the specified vcardvalue.
Definition at line 1017 of file vcardvalue.c.