]> git.ozlabs.org Git - ccan-lca-2011.git/commit - ccan/oserver/oserver_types.h
lca2011: avoid loops during dumping.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 25 Jan 2011 00:31:25 +0000 (11:01 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 25 Jan 2011 00:31:25 +0000 (11:01 +1030)
commit9bad361832b024c93ce9582bfff9ddef778b3324
tree41d703d9e4c21a3897df631e0ca18c2937eebc4b
parentb84209db97e9c1615d50d0a6e10ef8dc6484a4cc
lca2011: avoid loops during dumping.

CDUMP_IGNORE the client->oserver back-pointer, and switch the subclient
and oracle to be indices into oserver->clients[] rather than pointers.
ccan/oserver/oserver.c
ccan/oserver/oserver_types.h