diff options
| author | Joshua Oreman | 2009-11-26 02:27:50 +0100 |
|---|---|---|
| committer | Michael Brown | 2010-06-23 01:34:48 +0200 |
| commit | 719ba316dfc7c32f12375917301718af51509e5f (patch) | |
| tree | f1d06dd58b69b9cbf1e6fc9d3e8243be84a199f6 /src/include/ipxe | |
| parent | [http] Pass through unknown interface method calls (diff) | |
| download | ipxe-719ba316dfc7c32f12375917301718af51509e5f.tar.gz ipxe-719ba316dfc7c32f12375917301718af51509e5f.tar.xz ipxe-719ba316dfc7c32f12375917301718af51509e5f.zip | |
[refcnt] Add ref_no_free handler
Since more reference-counted structures than embedded images might
want to mark themselves unfreeable, expose a dummy ref_no_free().
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe')
| -rw-r--r-- | src/include/ipxe/refcnt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/refcnt.h b/src/include/ipxe/refcnt.h index f359ac9c1..37f574dcc 100644 --- a/src/include/ipxe/refcnt.h +++ b/src/include/ipxe/refcnt.h @@ -77,5 +77,6 @@ ref_init ( struct refcnt *refcnt, extern struct refcnt * ref_get ( struct refcnt *refcnt ); extern void ref_put ( struct refcnt *refcnt ); +extern void ref_no_free ( struct refcnt *refcnt ); #endif /* _IPXE_REFCNT_H */ |
