diff options
Diffstat (limited to 'include/asterisk/utils.h')
-rw-r--r-- | include/asterisk/utils.h | 8 |
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 */ |