]> git.proxmox.com Git - mirror_frr.git/commit - lib/linklist.h
lib: add listnode_add_force utility routine
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 28 Mar 2019 17:06:51 +0000 (18:06 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 29 Mar 2019 14:04:49 +0000 (15:04 +0100)
commit33bca8a15158198eb46cc92a9be7f3b096d64b90
tree313ff3bd09765484bb4e7e5cc89d15fb41b8e485
parente0c7edb0cb5af3f33b02668a77d320feee502d3e
lib: add listnode_add_force utility routine

that routine does the same as listnode_add; in addition it creates the
linked list if needed.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
lib/linklist.c
lib/linklist.h