diff options
Diffstat (limited to 'tools/xenstore/xs_lib.h')
-rw-r--r-- | tools/xenstore/xs_lib.h | 8 |
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); |