diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-13 11:06:34 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-13 11:06:34 +0000 |
commit | bb172c47194e22b8efa6b3d6b2bcd8fa07e84997 (patch) | |
tree | 78c8fdabe8cee43ee422b307c31a71ca504401d0 /include | |
parent | 98c676720d5bc5b13c14a4660ed7c04313684e41 (diff) |
simplify conference user list handling
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27153 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/linkedlists.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asterisk/linkedlists.h b/include/asterisk/linkedlists.h index 9441cf63f..a54f88368 100644 --- a/include/asterisk/linkedlists.h +++ b/include/asterisk/linkedlists.h @@ -208,6 +208,12 @@ struct { \ #define AST_LIST_FIRST(head) ((head)->first) /*! + \brief Returns the last entry contained in a list. + \param head This is a pointer to the list tail structure + */ +#define AST_LIST_LAST(head) ((head)->last) + +/*! \brief Returns the next entry in the list after the given entry. \param elm This is a pointer to the current entry. \param field This is the name of the field (declared using AST_LIST_ENTRY()) |