mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +01:00
document return lifespans for config_mgr_list_vars()
This commit is contained in:
parent
9cfc811c37
commit
12d980027a
1 changed files with 4 additions and 2 deletions
|
@ -306,7 +306,7 @@ config_mgr_free_(config_mgr_t *mgr)
|
|||
|
||||
/** Return a new smartlist_t containing a config_var_t for every variable that
|
||||
* <b>mgr</b> knows about. The elements of this smartlist do not need
|
||||
* to be freed. */
|
||||
* to be freed; they have the same lifespan as <b>mgr</b>. */
|
||||
smartlist_t *
|
||||
config_mgr_list_vars(const config_mgr_t *mgr)
|
||||
{
|
||||
|
@ -318,7 +318,9 @@ config_mgr_list_vars(const config_mgr_t *mgr)
|
|||
}
|
||||
|
||||
/** Return a new smartlist_t containing the names of all deprecated variables.
|
||||
* The elements of this smartlist do not need to be freed. */
|
||||
* The elements of this smartlist do not need to be freed; they have the same
|
||||
* lifespan as <b>mgr</b>.
|
||||
*/
|
||||
smartlist_t *
|
||||
config_mgr_list_deprecated_vars(const config_mgr_t *mgr)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue