aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_private.h
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2010-12-02 12:49:00 +0000
committerIan Campbell <ian.campbell@citrix.com>2010-12-02 12:49:00 +0000
commit2610f0b28d31a6fd19c271f229189c68d14ad54f (patch)
treec57644d4e8f2fee16b6e11202109effa03b2f765 /tools/libxc/xc_private.h
parent0bba6abe9863fabeae156b2361e531dac5afd93d (diff)
downloadxen-2610f0b28d31a6fd19c271f229189c68d14ad54f.tar.gz
xen-2610f0b28d31a6fd19c271f229189c68d14ad54f.tar.bz2
xen-2610f0b28d31a6fd19c271f229189c68d14ad54f.zip
libxc: allow caller to specify no re-entrancy protection when opening the interface
Used by language bindings which provide their own re-entrancy which conflicts with pthreads. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> committer: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'tools/libxc/xc_private.h')
-rw-r--r--tools/libxc/xc_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/libxc/xc_private.h b/tools/libxc/xc_private.h
index f6c45f2e93..153458b0fb 100644
--- a/tools/libxc/xc_private.h
+++ b/tools/libxc/xc_private.h
@@ -67,6 +67,7 @@
struct xc_interface {
int fd;
+ int flags;
xentoollog_logger *error_handler, *error_handler_tofree;
xentoollog_logger *dombuild_logger, *dombuild_logger_tofree;
struct xc_error last_error; /* for xc_get_last_error */