aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstore/xenstored_transaction.h
diff options
context:
space:
mode:
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>2005-07-26 15:13:56 +0000
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>2005-07-26 15:13:56 +0000
commite04c630cb24b65d871f061074bea23174cadf841 (patch)
tree31950e1ab897968f879a0513db58b1f3f9dfe6c9 /tools/xenstore/xenstored_transaction.h
parente08ecc0000058e476a61af2b503ce34580bd63bc (diff)
downloadxen-e04c630cb24b65d871f061074bea23174cadf841.tar.gz
xen-e04c630cb24b65d871f061074bea23174cadf841.tar.bz2
xen-e04c630cb24b65d871f061074bea23174cadf841.zip
Change from bool indicating blocked to an enum: when watches go
synchronous this makes it easier (because then we have two reasons to block) Instead of using return value, use explicit state member inside struct connection. Signed-off-by: Rusty Russel <rusty@rustcorp.com.au> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Diffstat (limited to 'tools/xenstore/xenstored_transaction.h')
-rw-r--r--tools/xenstore/xenstored_transaction.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/xenstore/xenstored_transaction.h b/tools/xenstore/xenstored_transaction.h
index 63baa56000..6abc8a2d19 100644
--- a/tools/xenstore/xenstored_transaction.h
+++ b/tools/xenstore/xenstored_transaction.h
@@ -22,8 +22,8 @@
struct transaction;
-bool do_transaction_start(struct connection *conn, const char *node);
-bool do_transaction_end(struct connection *conn, const char *arg);
+void do_transaction_start(struct connection *conn, const char *node);
+void do_transaction_end(struct connection *conn, const char *arg);
/* Is node covered by this transaction? */
bool within_transaction(struct transaction *trans, const char *node);