]> git.ozlabs.org Git - ccan/commit - ccan/aga/aga.h
aga: Error codes
authorDavid Gibson <david@gibson.dropbear.id.au>
Tue, 3 Nov 2015 03:20:14 +0000 (14:20 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 3 Nov 2015 03:20:14 +0000 (14:20 +1100)
commitafae9c82f99b0786cdac0badec8b0110bfefc8bb
treedae19fe6bdebf30e5e13d16db05ef9fe1e20966e
parent2ab26c629fcad393fd3da70e1bd26ed29048c950
aga: Error codes

Add an enum to record error codes for aga routines.  The current
algorithms, dfs and bfs don't have any error conditions except those
reported by callbacks.  So, for now, the only code is "no error", but this
will be expanded in future.

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