dar_sup_libversion Struct Reference
[Archive operations]
Used to assist runtime version verification during library initialization.
More...
#include <libdarc.h>
Data Fields | |
U_I | major |
Libdarc major version. | |
U_I | minor |
Libdarc medium version. | |
U_I | micro |
Libdarc minor version. | |
intptr_t | __pad0__: 16 |
Exception type. | |
char * | except_msg |
Exception message. | |
intptr_t | __pad2__: __WORDSIZE |
Exception message. |
Detailed Description
Used to assist runtime version verification during library initialization.
Major, minor, and micro version numbers must be set to equal the compile time binding version; the constants LIBDARC_MAJOR_VERSION
, LIBDARC_MINOR_VERSION
, LIBDARC_MICRO_VERSION
are available to set these fields. The exception fields should be left uninitialized when passed into the initialization, and will be used to pass exception data back to the caller.
Definition at line 310 of file libdarc.h.
Field Documentation
|
Exception message. This string would need to be freed by the caller, but would not be neccessary if caller terminates after initialization fails (which should be the case unless dar usage is not the primary functionality of the caller). Definition at line 324 of file libdarc.h. Referenced by dar_op_library_init(), and dar_sup_libversion_destroy(). |
The documentation for this struct was generated from the following file: