summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJason Hobbs <jason.hobbs@calxeda.com>2011-08-23 11:06:56 +0000
committerWolfgang Denk <wd@denx.de>2011-10-17 22:25:35 +0200
commite11938eabc17de35822de1a0a1102213c326f788 (patch)
tree01c2ab0dba57a53f59e1acf9f78c9d7f2d624d04 /include
parentdc0b7b0e619e3f1413e626dde193fe21427ac831 (diff)
downloadtalos-obmc-uboot-e11938eabc17de35822de1a0a1102213c326f788.tar.gz
talos-obmc-uboot-e11938eabc17de35822de1a0a1102213c326f788.zip
lib: add uuid_str_to_bin for use with bootp and PXE uuid
Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
Diffstat (limited to 'include')
-rw-r--r--include/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index f9fea08115..7950c8bded 100644
--- a/include/common.h
+++ b/include/common.h
@@ -694,6 +694,10 @@ int strcmp_compar(const void *, const void *);
/* lib/time.c */
void udelay (unsigned long);
+/* lib/uuid.c */
+void uuid_str_to_bin(const char *uuid, unsigned char *out);
+int uuid_str_valid(const char *uuid);
+
/* lib/vsprintf.c */
ulong simple_strtoul(const char *cp,char **endp,unsigned int base);
int strict_strtoul(const char *cp, unsigned int base, unsigned long *res);
OpenPOWER on IntegriCloud