summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorJoshua Oreman2009-11-26 02:27:50 +0100
committerMichael Brown2010-06-23 01:34:48 +0200
commit719ba316dfc7c32f12375917301718af51509e5f (patch)
treef1d06dd58b69b9cbf1e6fc9d3e8243be84a199f6 /src/include
parent[http] Pass through unknown interface method calls (diff)
downloadipxe-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')
-rw-r--r--src/include/ipxe/refcnt.h1
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 */