ddpi_module_get_usage operation
The ddpi_module_get_usage operation returns the
number of times that the Ddpi_Module object was created.
Prototype
int ddpi_module_get_usage(
Ddpi_Module module,
Dwarf_Signed* ret_usage,
Ddpi_Error* error); Parameters
- module
- Input. This accepts the Ddpi_Module object.
- ret_usage
- Output. This returns the number of times that the Ddpi_Module object was created.
- error
- See The libddpi error parameter.
Return values
- DW_DLV_OK
- Returned upon successful retrieval of the number of times that the
Ddpi_Moduleobject was created. - DW_DLV_NO_ENTRY
- Never returned.
- DW_DLV_ERROR
- This value is returned if:
moduleis NULL- The
Ddpi_Infoobject associated withmoduleis NULL ret_usageis NULL