Redland RDF Library Manual | ||||
---|---|---|---|---|
Top | Description |
#define LIBRDF_VERSION #define LIBRDF_VERSION_MAJOR #define LIBRDF_VERSION_MINOR #define LIBRDF_VERSION_RELEASE #define LIBRDF_VERSION_STRING extern const unsigned int librdf_version_decimal; extern const unsigned int librdf_version_major; extern const unsigned int librdf_version_release; extern const unsigned int librdf_version_minor; extern const char * const librdf_version_string; extern const char * const librdf_copyright_string; extern const char * const librdf_short_copyright_string; extern const char * const librdf_license_string; extern const char * const librdf_home_url_string; void * librdf_alloc_memory (size_t size
); void * librdf_calloc_memory (size_t nmemb
,size_t size
); void librdf_free_memory (void *ptr
); #define REDLAND_DEPRECATED
Static variables for version numbers and strings, copyright strings and home page. Functions for in-library memory allocation and deallocation.
#define LIBRDF_VERSION 10018
Redland librdf library version number
Format: major * 10000 + minor * 100 + release
extern const unsigned int librdf_version_decimal;
Redland librdf version as a decimal number.
Format: major * 10000 + minor * 100 + release
extern const unsigned int librdf_version_major;
Redland librdf major version number.
extern const unsigned int librdf_version_release;
Redland librdf release version number.
extern const unsigned int librdf_version_minor;
Redland librdf minor version number.
extern const char * const librdf_version_string;
Redland librdf version as a string.
extern const char * const librdf_copyright_string;
Copyright string (multiple lines).
extern const char * const librdf_short_copyright_string;
Short copyright string (one line).
extern const char * const librdf_license_string;
Redland librdf license string.
extern const char * const librdf_home_url_string;
Redland librdf home page URL.
void * librdf_alloc_memory (size_t size
);
Allocate memory inside the library similar to malloc()
.
Required for some runtimes where memory must be freed within the same shared object it was allocated in.
|
alloc size |
Returns : |
pointer to memory or NULL on failure |
void * librdf_calloc_memory (size_t nmemb
,size_t size
);
Allocate zeroed array of items inside the library similar to calloc()
.
Required for some runtimes where memory must be freed within the same shared object it was allocated in.
|
number of members |
|
size of member |
Returns : |
pointer to memory or NULL on failure |
void librdf_free_memory (void *ptr
);
Free memory allocated in the library.
Required for some runtimes where memory must be freed within the same shared object it was allocated in.
|
pointer to free |
Navigation: Redland Home Page