ender  0.0.9
Descriptorlibrary
Typedefs | Functions
Lib

A library matches the C library you want to describe. More...

Typedefs

typedef struct _Ender_Lib Ender_Lib
 Lib handle.

Functions

EAPI const Ender_Libender_lib_find (const char *name)
EAPI int ender_lib_version_get (const Ender_Lib *thiz)
EAPI const char * ender_lib_name_get (const Ender_Lib *thiz)
EAPI Ender_Case ender_lib_case_get (const Ender_Lib *thiz)
EAPI Ender_Notation ender_lib_notation_get (const Ender_Lib *thiz)
EAPI Eina_List * ender_lib_dependencies_get (const Ender_Lib *thiz)
EAPI Ender_Itemender_lib_item_find (const Ender_Lib *thiz, const char *name)
EAPI Eina_List * ender_lib_item_list (const Ender_Lib *thiz, Ender_Item_Type type)

Detailed Description

A library matches the C library you want to describe.


Typedef Documentation

typedef struct _Ender_Lib Ender_Lib

Lib handle.


Function Documentation

EAPI const Ender_Lib* ender_lib_find ( const char *  name)

Find a registered library by name

Parameters:
nameThe name of the library to find
Returns:
The library found, NULL otherwise
EAPI int ender_lib_version_get ( const Ender_Lib thiz)

Get the version of the library

Parameters:
thizThe library to get version from
Returns:
The version of the library
EAPI const char* ender_lib_name_get ( const Ender_Lib thiz)

Get the name of the library

Parameters:
thizThe library to get name from
Returns:
The name of the library
EAPI Ender_Case ender_lib_case_get ( const Ender_Lib thiz)

Get the case of the library

Parameters:
thizThe library to get the case from
Returns:
The library case
EAPI Ender_Notation ender_lib_notation_get ( const Ender_Lib thiz)

Get the notation of the library

Parameters:
thizThe library to get the notation from
Returns:
The library notation
EAPI Eina_List* ender_lib_dependencies_get ( const Ender_Lib thiz)

Get the dependencies of the library

Parameters:
thizThe library to get the dependencies from
Returns:
The list of dependencies or NULL if it does not have any. Make sure to free the returning list. transfer[none]
EAPI Ender_Item* ender_lib_item_find ( const Ender_Lib thiz,
const char *  name 
)

Find an item

Parameters:
thizThe library to find the item on
nameThe item name to find
Returns:
The item found or NULL if it is not found. Use ender_item_unref to free the returning item. transfer[none]
EAPI Eina_List* ender_lib_item_list ( const Ender_Lib thiz,
Ender_Item_Type  type 
)

List the items based on their type

Parameters:
thizThe library to list the items from
typeThe type of items to list
Returns:
The list of items of the requested type. Use ender_item_unref to free every item on the list. transfer[none]
 All Data Structures