diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-06-10 13:49:33 +0000 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-06-10 13:49:33 +0000 |
commit | 31519ad1fd9793848df4ed7597b5bb24f73e037c (patch) | |
tree | 23db0348c765f0c0de6fd3c343f5ec619ed835c8 /tools/xenstore/xs_lib.h | |
parent | 8ce61a2eafe70afc6604860c636429dad1201ac0 (diff) | |
download | xen-31519ad1fd9793848df4ed7597b5bb24f73e037c.tar.gz xen-31519ad1fd9793848df4ed7597b5bb24f73e037c.tar.bz2 xen-31519ad1fd9793848df4ed7597b5bb24f73e037c.zip |
bitkeeper revision 1.1705.1.13 (42a99a6dV4rHEyZ-t7znDZXeW50z5Q)
Some functions of xenstore library dont have xs_ as prefix. This patch
fixes the problem.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Diffstat (limited to 'tools/xenstore/xs_lib.h')
-rw-r--r-- | tools/xenstore/xs_lib.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/xenstore/xs_lib.h b/tools/xenstore/xs_lib.h index a946ab0b19..76ea9b67fe 100644 --- a/tools/xenstore/xs_lib.h +++ b/tools/xenstore/xs_lib.h @@ -48,16 +48,16 @@ const char *xs_daemon_store(void); const char *xs_daemon_transactions(void); /* Simple write function: loops for you. */ -bool write_all(int fd, const void *data, unsigned int len); +bool xs_write_all(int fd, const void *data, unsigned int len); /* Convert strings to permissions. False if a problem. */ -bool strings_to_perms(struct xs_permissions *perms, unsigned int num, +bool xs_strings_to_perms(struct xs_permissions *perms, unsigned int num, const char *strings); /* Convert permissions to a string (up to len MAX_STRLEN(domid_t)+1). */ -bool perm_to_string(const struct xs_permissions *perm, char *buffer); +bool xs_perm_to_string(const struct xs_permissions *perm, char *buffer); /* Given a string and a length, count how many strings (nul terms). */ -unsigned int count_strings(const char *strings, unsigned int len); +unsigned int xs_count_strings(const char *strings, unsigned int len); #endif /* _XS_LIB_H */ |