|
Libical API Documentation 4.0 UNRELEASED Go to the stable 3.0 documentation
|
Defines the data structure representing iCalendar parameter values. More...
Go to the source code of this file.
Functions | |
| const char * | icalvalue_as_ical_string (const icalvalue *value) |
| char * | icalvalue_as_ical_string_r (const icalvalue *value) |
| icalvalue * | icalvalue_clone (const icalvalue *old) |
| icalparameter_xliccomparetype | icalvalue_compare (const icalvalue *a, const icalvalue *b) |
| bool | icalvalue_decode_ical_string (const char *szText, char *szDecText, int maxBufferLen) |
| bool | icalvalue_encode_ical_string (const char *szText, char *szEncText, int maxBufferLen) |
| void | icalvalue_free (icalvalue *value) |
| bool | icalvalue_is_valid (const icalvalue *value) |
| icalvalue_kind | icalvalue_isa (const icalvalue *value) |
| bool | icalvalue_isa_value (void *value) |
| bool | icalvalue_kind_is_valid (const icalvalue_kind kind) |
| const char * | icalvalue_kind_to_string (const icalvalue_kind kind) |
| icalvalue * | icalvalue_new (icalvalue_kind kind) |
| icalvalue * | icalvalue_new_from_string (icalvalue_kind kind, const char *str) |
| void | icalvalue_reset_kind (icalvalue *value) |
| icalvalue_kind | icalvalue_string_to_kind (const char *str) |
Defines the data structure representing iCalendar parameter values.
Definition in file icalvalue.h.
| const char * icalvalue_as_ical_string | ( | const icalvalue * | value | ) |
Create a string representation of an icalvalue.
| value | a pointer to a valid icalvalue |
v value. NULL is returned is value is invalid.Definition at line 1211 of file icalvalue.c.
| char * icalvalue_as_ical_string_r | ( | const icalvalue * | value | ) |
Create a string representation of an icalvalue.
| value | a pointer to a valid icalvalue |
value. NULL is returned is value is invalid.Definition at line 1220 of file icalvalue.c.
| icalvalue * icalvalue_clone | ( | const icalvalue * | old | ) |
Deeply clone an icalvalue.
| old | is a pointer to a valid icalvalue from which to clone |
Definition at line 65 of file icalvalue.c.
| icalparameter_xliccomparetype icalvalue_compare | ( | const icalvalue * | a, |
| const icalvalue * | b ) |
Compares two icalvalues.
| a | an icalvalue to compare |
| b | an icalvalue to compare |
a and b compare; if the values do not have the same type ICAL_XLICCOMPARETYPE_NOTEQUAL is returned; ICAL_XLICCOMPARETYPE_NONE is returned if the values type is unknown or one of the values is null. Definition at line 1353 of file icalvalue.c.
| bool icalvalue_decode_ical_string | ( | const char * | szText, |
| char * | szDecText, | ||
| int | maxBufferLen ) |
Decode the string that has been encoded by icalvalue_encode_ical_string().
| szText | is a pointer to a char string to be decoded |
| szDecText | is a pointer to a char string to contain the decoded input string upon return. |
| maxBufferLen | is the maximum number of characters to encode |
Definition at line 1587 of file icalvalue.c.
| bool icalvalue_encode_ical_string | ( | const char * | szText, |
| char * | szEncText, | ||
| int | maxBufferLen ) |
Encode a character string in ical format, escape certain characters, etc.
| szText | is a pointer to a char string to be encoded |
| szEncText | is a pointer to a char string to contain the encoded input string upon return. |
| maxBufferLen | is the maximum number of characters to encode |
Definition at line 1553 of file icalvalue.c.
| void icalvalue_free | ( | icalvalue * | value | ) |
Free the memory for an icalvalue.
| value | a pointer to a valid icalvalue |
Definition at line 793 of file icalvalue.c.
| bool icalvalue_is_valid | ( | const icalvalue * | value | ) |
Determine if the specified icalvalue is valid.
| value | a pointer to a icalvalue |
value is valid; false otherwise. Definition at line 867 of file icalvalue.c.
| icalvalue_kind icalvalue_isa | ( | const icalvalue * | value | ) |
Get the icalvalue_kind of an icalvalue.
| value | a pointer to a valid icalvalue |
value. ICAL_NO_VALUE is returned if value is null. Definition at line 1320 of file icalvalue.c.
| bool icalvalue_isa_value | ( | void * | value | ) |
Determine if the specified address points to an icalvalue.
| value | a pointer to a possible icalvalue. |
Definition at line 1329 of file icalvalue.c.
| bool icalvalue_kind_is_valid | ( | const icalvalue_kind | kind | ) |
Check the validity of the specified icalvalue_kind.
| kind | is the icalvalue_kind to use |
| const char * icalvalue_kind_to_string | ( | const icalvalue_kind | kind | ) |
Converts an icalvalue_kind to its string representation.
| kind | is the icalvalue_kind to use |
| icalvalue * icalvalue_new | ( | icalvalue_kind | kind | ) |
Construct a new icalvalue of the specified icalvalue_kind.
| kind | is the icalvalue_kind to use |
Definition at line 60 of file icalvalue.c.
| icalvalue * icalvalue_new_from_string | ( | icalvalue_kind | kind, |
| const char * | str ) |
Construct and populate a new icalvalue of the specified icalvalue_kind.
| kind | the icalvalue_kind to use |
| str | is a non-NULL pointer to the data used to populate the new icalvalue |
Definition at line 788 of file icalvalue.c.
| void icalvalue_reset_kind | ( | icalvalue * | value | ) |
Resets the icalvalue_kind of the specified icalvalue.
| value | a pointer to a valid icalvalue |
Definition at line 1528 of file icalvalue.c.
| icalvalue_kind icalvalue_string_to_kind | ( | const char * | str | ) |
Converts a char string into an icalvalue_kind.
| str | a pointer to a char string containing the character representation of an icalvalue_kind |
str. ICAL_NO_VALUE is returned if str is invalid.