Print this page
4118 libuuid should provide uuid_unparse_{upper,lower} functions
Reviewed by: Serghei Samsi <sscdvp@gmail.com>
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>

*** 22,36 **** /* * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _UUID_H #define _UUID_H - #pragma ident "%Z%%M% %I% %E% SMI" - #ifdef __cplusplus extern "C" { #endif /* --- 22,38 ---- /* * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ + /* + * Copyright 2014 Andrew Stormont. + */ + #ifndef _UUID_H #define _UUID_H #ifdef __cplusplus extern "C" { #endif /*
*** 63,72 **** --- 65,76 ---- extern void uuid_generate_random(uuid_t); extern void uuid_generate_time(uuid_t); extern void uuid_copy(uuid_t, uuid_t); extern void uuid_clear(uuid_t); extern void uuid_unparse(uuid_t, char *); + extern void uuid_unparse_lower(uuid_t, char *); + extern void uuid_unparse_upper(uuid_t, char *); extern int uuid_compare(uuid_t, uuid_t); extern int uuid_is_null(uuid_t); extern int uuid_parse(char *, uuid_t); extern time_t uuid_time(uuid_t, struct timeval *);