aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstore/xs_lib.h
diff options
context:
space:
mode:
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>2005-06-17 10:24:34 +0000
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>2005-06-17 10:24:34 +0000
commit4ddc54b2db6264de8a8809d2a8763c5f4e3f4191 (patch)
tree22569f709abb8a9b21f17bfe9c39471bc89a8cc8 /tools/xenstore/xs_lib.h
parentc364cd9e1add6131c74a2507ea81ed556b0c0842 (diff)
downloadxen-4ddc54b2db6264de8a8809d2a8763c5f4e3f4191.tar.gz
xen-4ddc54b2db6264de8a8809d2a8763c5f4e3f4191.tar.bz2
xen-4ddc54b2db6264de8a8809d2a8763c5f4e3f4191.zip
bitkeeper revision 1.1713.3.5 (42b2a4e2r6SNlC_nq2hAkXEQjEFAmA)
Many files: - watch now takes a token, returned when reading watch - More tests - Fix domain shared page communication (flush output) - Add "home" path for domains - More permissions checks in various functions - Simplify watch acknowledgement code and fix occasional bug xs_watch_stress.c, 12readonly.sh, 11domain-watch.sh, 10domain-homedir.sh: new file xs_stress.c, xs_lib.h, xs_lib.c: Cleanup whitespace. ignore: Add tools/xenstore/xs_watch_stress Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Diffstat (limited to 'tools/xenstore/xs_lib.h')
-rw-r--r--tools/xenstore/xs_lib.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/xenstore/xs_lib.h b/tools/xenstore/xs_lib.h
index 76ea9b67fe..97b72c8c7e 100644
--- a/tools/xenstore/xs_lib.h
+++ b/tools/xenstore/xs_lib.h
@@ -1,5 +1,3 @@
-#ifndef _XR_LIB_H
-#define _XR_LIB_H
/*
Common routines between Xen store user library and daemon.
Copyright (C) 2005 Rusty Russell IBM Corporation
@@ -18,6 +16,10 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+
+#ifndef _XS_LIB_H
+#define _XS_LIB_H
+
#include <stdbool.h>
#include <limits.h>
#include <xc.h>
@@ -52,7 +54,7 @@ bool xs_write_all(int fd, const void *data, unsigned int len);
/* Convert strings to permissions. False if a problem. */
bool xs_strings_to_perms(struct xs_permissions *perms, unsigned int num,
- const char *strings);
+ const char *strings);
/* Convert permissions to a string (up to len MAX_STRLEN(domid_t)+1). */
bool xs_perm_to_string(const struct xs_permissions *perm, char *buffer);