summaryrefslogtreecommitdiff
path: root/lib/vty.h
diff options
context:
space:
mode:
authorJosh Bailey <joshb@google.com>2012-03-21 10:00:07 -0700
committerAvneesh Sachdev <avneesh@opensourcerouting.org>2012-04-07 13:52:23 -0700
commit54dd61227352dd1dd4db4fe76dbf7d2e92522e74 (patch)
treeda320cdec867ca81748f3b85b772422b386bf376 /lib/vty.h
parent8ced4e82e6f417b13f4bfc09018fc51fd31058e2 (diff)
lib: Tweaks to linked list macros
* lib/linklist.h - Change the listnextnode, listhead and listtail macros so that they allow the list pointer to be NULL. - Modify the ALL_LIST_ELEMENTS* macros such that they clear the data pointer at the beginning and end of the loop. From: Josh Bailey <joshb@google.com> Signed-off-by: Avneesh Sachdev <avneesh@opensourcerouting.org> Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/vty.h')
0 files changed, 0 insertions, 0 deletions