From 125fbd3cdc3bf261faa3c0df56595baf46c6c0f1 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Fri, 7 Oct 2005 13:37:10 +0000 Subject: Add parse_uuid() that creates a binary representation of an UUID from a string representation. --- sys/sys/uuid.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/sys/uuid.h') 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); -- cgit v1.2.3