]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add APIs for associating a virIdentityPtr with the current thread
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 6 Mar 2013 10:53:47 +0000 (10:53 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 19 Mar 2013 13:38:44 +0000 (13:38 +0000)
commit8726e91b3a165fa1094155218f3a3b65dbc932c5
treecb118724ff61aefeaa85b9565d404a99b4a5cc06
parent3aabe27247711324df2bfa623e9a5e8d2442e3a5
Add APIs for associating a virIdentityPtr with the current thread

To allow any internal API to get the current identity, add APIs
to associate a virIdentityPtr with the current thread, via a
thread local

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/util/viridentity.c
src/util/viridentity.h