summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-05-19 05:26:57 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-05-19 05:26:57 -0500
commitb57032c3646229ab5abcb16f8a7e77bde350afae (patch)
tree1deab9e8e9601fd0d7ce39a0bdc11e0e63bd8158 /include
parent1f36270b21149e92f0552170acd441ae543c0ff2 (diff)
parente06a23681ca8c6933d705ad9e52c24395ed0a506 (diff)
Merge "res_hep: Provide an option to pick the UUID type"
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/res_hep.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/asterisk/res_hep.h b/include/asterisk/res_hep.h
index 8839fd60a..bd0129eea 100644
--- a/include/asterisk/res_hep.h
+++ b/include/asterisk/res_hep.h
@@ -49,6 +49,11 @@ enum hepv3_capture_type {
HEPV3_CAPTURE_TYPE_IAX = 0x10,
};
+enum hep_uuid_type {
+ HEP_UUID_TYPE_CALL_ID = 0,
+ HEP_UUID_TYPE_CHANNEL,
+};
+
/*! \brief HEPv3 Capture Info */
struct hepv3_capture_info {
/*! The source address of the packet */
@@ -104,6 +109,15 @@ struct hepv3_capture_info *hepv3_create_capture_info(const void *payload, size_t
*/
int hepv3_send_packet(struct hepv3_capture_info *capture_info);
+/*!
+ * \brief Get the preferred UUID type
+ *
+ * \since 13.10.0
+ *
+ * \retval The type of UUID the packet should use
+ */
+enum hep_uuid_type hepv3_get_uuid_type(void);
+
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif