summaryrefslogtreecommitdiff
path: root/src/libical/icalproperty.h
diff options
context:
space:
mode:
authorMichael McClurg <michael.mcclurg@outlook.com>2020-07-18 16:08:39 -0600
committerMichael McClurg <michael.mcclurg@outlook.com>2020-07-18 16:08:39 -0600
commitce3e92c4ef3cfbf3fc19a9c081600593f464c861 (patch)
treeabaa57d94bd5615bf05934dc1f1fe01cc64d8ee4 /src/libical/icalproperty.h
parentec5695a17a5f3cdba1382aa3eefa3c445063e657 (diff)
downloadlibical-git-ce3e92c4ef3cfbf3fc19a9c081600593f464c861.tar.gz
Unify all visible docstrings to .h files
Reduces redundancy and conflicting information
Diffstat (limited to 'src/libical/icalproperty.h')
-rw-r--r--src/libical/icalproperty.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/libical/icalproperty.h b/src/libical/icalproperty.h
index f30021e2..f4411cf6 100644
--- a/src/libical/icalproperty.h
+++ b/src/libical/icalproperty.h
@@ -59,12 +59,42 @@ LIBICAL_ICAL_EXPORT const char *icalproperty_get_parameter_as_string(icalpropert
LIBICAL_ICAL_EXPORT char *icalproperty_get_parameter_as_string_r(icalproperty *prop,
const char *name);
+/** @brief Removes all parameters with the specified kind.
+ *
+ * @param prop A valid icalproperty.
+ * @param kind The kind to remove (ex. ICAL_TZID_PARAMETER)
+ *
+ * See icalproperty_remove_parameter_by_name() and
+ * icalproperty_remove_parameter_by_ref() for alternate ways of
+ * removing parameters
+ */
LIBICAL_ICAL_EXPORT void icalproperty_remove_parameter_by_kind(icalproperty *prop,
icalparameter_kind kind);
+/** @brief Removes all parameters with the specified name.
+ *
+ * @param prop A valid icalproperty.
+ * @param 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 icalproperty_remove_parameter_by_kind() and
+ * icalproperty_remove_parameter_by_ref() for alternate ways of removing
+ * parameters
+ */
LIBICAL_ICAL_EXPORT void icalproperty_remove_parameter_by_name(icalproperty *prop,
const char *name);
+/** @brief Removes the specified parameter reference from the property.
+ *
+ * @param prop A valid icalproperty.
+ * @param parameter A reference to a specific icalparameter.
+ *
+ * This function removes the specified parameter reference from the
+ * property.
+ */
LIBICAL_ICAL_EXPORT void icalproperty_remove_parameter_by_ref(icalproperty *prop,
icalparameter *param);