talloc: talloc_may_reference
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 25 Oct 2011 00:51:33 +0000 (11:21 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 25 Oct 2011 00:51:33 +0000 (11:21 +1030)
commit7b1674617330f31526040f062ea134a9b3d8d496
tree9d2158af2f19f51d3b538a0a41b570cbf0494f0f
parent6b06b0d3b4971107b561a818c627a11021ef5812
talloc: talloc_may_reference

A new flag allows us to mark objects which will/may be referenced in
future.  You shouldn't try to treat these as a non-reference-counted
object, even if it's currently only got one reference.

This makes us clean up the hardcoded constants for flag bits, and also
bump the minor number since we've changed talloc flags.

Signed-off-byL Rusty Russell <rusty@rustcorp.com.au>
lib/talloc/talloc.c
lib/talloc/talloc.h
lib/talloc/wscript