On Mon, Jul 25, 2011 at 11:37:34PM +0200, Wolfgang Denk wrote:
+void uuid_str_to_bin(const char *uuid, unsigned char *out)
I will add a separate function to verify the format of a UUID string.
It doesn't belong in this function, which otherwise only needs to read
the string once. It will check
Dear Jason Hobbs,
In message 1309366710-17400-2-git-send-email-jason.ho...@calxeda.com you
wrote:
Signed-off-by: Jason Hobbs jason.ho...@calxeda.com
...
+void uuid_str_to_bin(const char *uuid, unsigned char *out)
+{
+ uint16_t tmp16;
+ uint32_t tmp32;
+ uint64_t tmp64;
+
+
Signed-off-by: Jason Hobbs jason.ho...@calxeda.com
---
Changes for v2:
- Move uuid_str_to_bin's prototype from uuid. to common.h
- Place uuid.o make rule in sorted order and conditionalize
Changes for v3:
- Check for NULL pointers in uuid conversion function
include/common.h |3 +++
3 matches
Mail list logo