]> git.ozlabs.org Git - ccan/commit - ccan/aga/private.h
aga: Add aga_node_needs_update() internal function
authorDavid Gibson <david@gibson.dropbear.id.au>
Thu, 12 Nov 2015 11:21:10 +0000 (22:21 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 12 Nov 2015 11:22:18 +0000 (22:22 +1100)
commitc067e5e08b14d5912f855b057481914b92610d83
treed4e14b756b418d4158cc62832e4a8abb93595acf
parente95575c4ad0485eef9edf562dfdbc34f8deb4b76
aga: Add aga_node_needs_update() internal function

There are situations where aga algorithms may want to check if a node is
up-to-date (i.e. has yet been discovered by the current algorithm) without
making it up to date if it's not.  This adds an internal function to do so.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
ccan/aga/aga.c
ccan/aga/private.h