On Mon, Jan 19, 2009 at 2:07 PM, Hans de Goede <hdego...@redhat.com> wrote:
> Therefore we would like to export (some) of the functionality of iscsiadm as a
> C-library.

Great !

> I've got documentation of the proposed API here:
> http://people.atrpms.net/~hdegoede/html/libiscsi_8h.html

Not so great:

libiscsi_get_error_string()
This function can be called to get a human readable error string when
a libiscsi function has returned an error. This function uses a static
buffer thus the result is only valid as long as no other libiscsi
calls are made after the failing function call.

This makes it impossible to use libiscsi_get_error_string() in a safe
way in multithreaded software.

Furthermore, there are some minor spelling issues, e.g. "cleanups".
Shouldn't this be "cleans up" ?

Bart.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

Reply via email to