Hello!
I have the following proposal:
Currently libopenhpiutils depends on libuuid.
Working on OpenHPI base library for Windows
I have problems with libuuid there.
Investigation shows that libopenhpiutils uses only
uuid_unparse function from this library.
See file utils/sahpi_struct_utils.c, function oh_build_resourceinfo.
Also the usage of this function differs on Solaris and Linux
and we have #ifdefs there.
The function uuid_unparse just prints SaHpiRptEntryT.ResourceInfo.Guid
(which is unsigned char[16]) as a 36-byte string (plus tailing '\0')
of the form like 1b4e28ba-2fa1-11d2-883f-b9a76.
I guess it can be done internally with simple printf call or small static
function.
After that there is no need for libuuid dependancy for libopenhpiutils
What say?
Just created feature request #3028899 for this.
Anton Pak
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel