summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorzuul <zuul@gerrit.asterisk.org>2016-08-16 06:43:54 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-08-16 06:43:54 -0500
commit050b90769a2a2d0293f7c31d1c53f6f4a73c448c (patch)
tree18a923f7f05ee5c44461696167d306b13c77da95 /include
parent6c4c31456fde265f874bbe9dfe28d7c011065e93 (diff)
parent403c794684a5a8afce2b490e5a40214f792794d4 (diff)
Merge "core: Entity ID is not set or invalid" into 13
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/utils.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asterisk/utils.h b/include/asterisk/utils.h
index c311e9cd5..c3df4779f 100644
--- a/include/asterisk/utils.h
+++ b/include/asterisk/utils.h
@@ -973,6 +973,14 @@ int ast_str_to_eid(struct ast_eid *eid, const char *s);
int ast_eid_cmp(const struct ast_eid *eid1, const struct ast_eid *eid2);
/*!
+ * \brief Check if EID is empty
+ *
+ * \return 1 if the EID is empty, zero otherwise
+ * \since 13.12.0
+ */
+int ast_eid_is_empty(const struct ast_eid *eid);
+
+/*!
* \brief Get current thread ID
* \return the ID if platform is supported, else -1
*/