aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/charon/config/sa_config.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/Source/charon/config/sa_config.h b/Source/charon/config/sa_config.h
index 412e7e611..490395682 100644
--- a/Source/charon/config/sa_config.h
+++ b/Source/charon/config/sa_config.h
@@ -115,7 +115,11 @@ struct sa_config_t {
/**
* @brief Get configured traffic selectors.
*
- * @warning Resulting array must be freed!
+ * Returns a pointer to an allocated array, in which
+ * pointers to traffic selectors are stored.
+ *
+ * @warning Resulting pointer array must be freed!
+ * @warning Traffic selectors in array must be destroyed!
*
* @param this calling object
* @param[out]traffic_selectors pointer where traffic selectors will be allocated
@@ -126,7 +130,11 @@ struct sa_config_t {
/**
* @brief Select traffic selectors from a supplied list.
*
- * @warning Resulting array must be freed!
+ * Returns a pointer to an allocated array, in which
+ * pointers to traffic selectors are stored.
+ *
+ * @warning Resulting pointer array must be freed!
+ * @warning Traffic selectors in array must be destroyed!
*
* @param this calling object
* @param supplied pointer to an array of ts to select from.