aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/uuid.h
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2005-10-07 13:37:10 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2005-10-07 13:37:10 +0000
commit125fbd3cdc3bf261faa3c0df56595baf46c6c0f1 (patch)
tree055ae6af785e5bc8445861fa126a2f965b4c7d5e /sys/sys/uuid.h
parent762116ae25583cb226fea8a3bf17e4277b7e4f97 (diff)
downloadsrc-125fbd3cdc3bf261faa3c0df56595baf46c6c0f1.tar.gz
src-125fbd3cdc3bf261faa3c0df56595baf46c6c0f1.zip
Add parse_uuid() that creates a binary representation of an UUID from
a string representation.
Notes
Notes: svn path=/head/; revision=151059
Diffstat (limited to 'sys/sys/uuid.h')
-rw-r--r--sys/sys/uuid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/uuid.h b/sys/sys/uuid.h
index 41f02b5db587..0f40bb20e31b 100644
--- a/sys/sys/uuid.h
+++ b/sys/sys/uuid.h
@@ -61,6 +61,8 @@ struct uuid *kern_uuidgen(struct uuid *, size_t);
int snprintf_uuid(char *, size_t, struct uuid *);
int printf_uuid(struct uuid *);
int sbuf_printf_uuid(struct sbuf *, struct uuid *);
+int parse_uuid(const char *, struct uuid *);
+
void be_uuid_dec(void const *buf, struct uuid *uuid);
void be_uuid_enc(void *buf, struct uuid const *uuid);
void le_uuid_dec(void const *buf, struct uuid *uuid);