simplify conference user list handling

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27153 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2006-05-13 11:06:34 +00:00
parent a3ed43f0dc
commit 51d5b1fdb2
2 changed files with 34 additions and 97 deletions

View File

@@ -207,6 +207,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.