aboutsummaryrefslogtreecommitdiff
path: root/src/modules/systemlib/param/param.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/systemlib/param/param.h')
-rw-r--r--src/modules/systemlib/param/param.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/modules/systemlib/param/param.h b/src/modules/systemlib/param/param.h
index b29a7e51d..9cbe3570b 100644
--- a/src/modules/systemlib/param/param.h
+++ b/src/modules/systemlib/param/param.h
@@ -130,6 +130,14 @@ __EXPORT bool param_used(param_t param);
__EXPORT param_t param_for_index(unsigned index);
/**
+ * Look up an used parameter by index.
+ *
+ * @param param The parameter to obtain the index for.
+ * @return The index of the parameter in use, or -1 if the parameter does not exist.
+ */
+__EXPORT param_t param_for_used_index(unsigned index);
+
+/**
* Look up the index of a parameter.
*
* @param param The parameter to obtain the index for.