]> git.ipfire.org Git - thirdparty/bind9.git/commit
add static macros for ISC_REFCOUNT_DECL/IMPL
authorEvan Hunt <each@isc.org>
Tue, 12 Mar 2024 08:02:48 +0000 (01:02 -0700)
committerEvan Hunt <each@isc.org>
Tue, 30 Apr 2024 19:31:48 +0000 (12:31 -0700)
commita5d0e6c4ba89d91201bb0773a68e40a3e7aa2b69
tree9510f9c114f5328b153ce06790f61c6719a08ebe
parentbc8095311a649b6947a3438d7c04cdec93c32312
add static macros for ISC_REFCOUNT_DECL/IMPL

this commit adds a mechanism to statically declare attach/detach
and ref/unref methods, for objects that are only accessed within
a single C file.
lib/isc/include/isc/refcount.h