aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstore/xenstored_core.h
diff options
context:
space:
mode:
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>2006-03-02 02:09:23 +0100
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>2006-03-02 02:09:23 +0100
commit06d17943f0cd4f1386e2dfbfbffa3e29bd458b10 (patch)
tree753879768245c9e23bd8d471512e397a02566859 /tools/xenstore/xenstored_core.h
parent8920f45cc8bbbad7fdf478673f8119adda58cfa0 (diff)
downloadxen-06d17943f0cd4f1386e2dfbfbffa3e29bd458b10.tar.gz
xen-06d17943f0cd4f1386e2dfbfbffa3e29bd458b10.tar.bz2
xen-06d17943f0cd4f1386e2dfbfbffa3e29bd458b10.zip
Added a basic integrity checker, and some basic ability to recover from store
corruption, rather than just spewing error messages and exiting. Added a xenstore-control executable, which sends commands to xenstored. Currently, the only command is 'check', which triggers an integrity check. (The integrity check is also triggered whenever a corrupted store is detected). Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/xenstore/xenstored_core.h')
-rw-r--r--tools/xenstore/xenstored_core.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/xenstore/xenstored_core.h b/tools/xenstore/xenstored_core.h
index da98a9211d..090f54a846 100644
--- a/tools/xenstore/xenstored_core.h
+++ b/tools/xenstore/xenstored_core.h
@@ -148,10 +148,6 @@ int destroy_tdb(void *_tdb);
/* Replace the tdb: required for transaction code */
bool replace_tdb(const char *newname, TDB_CONTEXT *newtdb);
-/* Fail due to excessive corruption, capitalist pigdogs! */
-void __attribute__((noreturn)) corrupt(struct connection *conn,
- const char *fmt, ...);
-
struct connection *new_connection(connwritefn_t *write, connreadfn_t *read);