aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/linkedlists.h
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-13 11:06:34 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-13 11:06:34 +0000
commitbb172c47194e22b8efa6b3d6b2bcd8fa07e84997 (patch)
tree78c8fdabe8cee43ee422b307c31a71ca504401d0 /include/asterisk/linkedlists.h
parent98c676720d5bc5b13c14a4660ed7c04313684e41 (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/asterisk/linkedlists.h')
-rw-r--r--include/asterisk/linkedlists.h6
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())