aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uORB/uORB.h
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2015-04-27 22:34:08 +0200
committerLorenz Meier <lm@inf.ethz.ch>2015-04-27 22:34:08 +0200
commit3dd45b9d3467ee62ac0d604a5607baaa10089ac3 (patch)
tree7bf56e57c71bcfedc47a7af9be4bab290beb21da /src/modules/uORB/uORB.h
parent7b06d781d8ade137a1837a3ecf002579bddfbb14 (diff)
parentbd1c3363df44170523c68fd87ee19f2582a5e8fc (diff)
downloadpx4-firmware-beta.tar.gz
px4-firmware-beta.tar.bz2
px4-firmware-beta.zip
Merge branch 'master' into betabeta
Diffstat (limited to 'src/modules/uORB/uORB.h')
-rw-r--r--src/modules/uORB/uORB.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/modules/uORB/uORB.h b/src/modules/uORB/uORB.h
index 44dc6614f..a8b19d91f 100644
--- a/src/modules/uORB/uORB.h
+++ b/src/modules/uORB/uORB.h
@@ -319,6 +319,15 @@ extern int orb_check(int handle, bool *updated) __EXPORT;
extern int orb_stat(int handle, uint64_t *time) __EXPORT;
/**
+ * Check if a topic has already been created.
+ *
+ * @param meta ORB topic metadata.
+ * @param instance ORB instance
+ * @return OK if the topic exists, ERROR otherwise with errno set accordingly.
+ */
+extern int orb_exists(const struct orb_metadata *meta, int instance) __EXPORT;
+
+/**
* Return the priority of the topic
*
* @param handle A handle returned from orb_subscribe.