improve linked-list macros in two ways:
authorKevin P. Fleming <kpfleming@digium.com>
Thu, 8 Nov 2007 05:28:47 +0000 (05:28 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Thu, 8 Nov 2007 05:28:47 +0000 (05:28 +0000)
commitedc78d6023c379c19afff8c94632d7118295ff60
tree444ea944312fd31b5524ee43f8cfc97e2884c6de
parent950528b638cc290e4ea661ec3426f73230703e9e
improve linked-list macros in two ways:
  - the *_CURRENT macros no longer need the list head pointer argument
  - add AST_LIST_MOVE_CURRENT to encapsulate the remove/add operation when moving entries between lists

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
41 files changed:
apps/app_followme.c
apps/app_meetme.c
apps/app_queue.c
apps/app_voicemail.c
channels/chan_agent.c
channels/chan_iax2.c
channels/iax2-parser.c
codecs/codec_zap.c
funcs/func_strings.c
include/asterisk/linkedlists.h
main/app.c
main/asterisk.c
main/astobj2.c
main/audiohook.c
main/autoservice.c
main/cdr.c
main/channel.c
main/cli.c
main/config.c
main/devicestate.c
main/event.c
main/file.c
main/frame.c
main/image.c
main/indications.c
main/loader.c
main/logger.c
main/manager.c
main/pbx.c
main/sched.c
main/srv.c
main/translate.c
pbx/pbx_dundi.c
res/res_agi.c
res/res_crypto.c
res/res_features.c
res/res_jabber.c
res/res_musiconhold.c
res/res_odbc.c
res/res_speech.c
utils/astman.c