#include <iresman.h>
Field Documentation
Function to query the name of the protocol.
Function to query the revision of hte protocol.
- Return values:
-
Pointer | to the protocol revision structure |
Function to create and initialize the device specific resource manager implementation.
- Parameters:
-
[in] | initArgs | Initialization arguments maybe interpreted by device specific implementation |
- Return values:
-
IRESMAN_EOK | Success IRESMAN_EEXISTS RESMAN already initialized IRESMAN_EERROR RESMAN could not be initialized |
Function called when RESMAN is no longer needed. Use it to free memory allocated etc.
- Return values:
-
IRESMAN_EOK | Success IRESMAN_ENOINIT RESMAN not initialized IRESMAN_EERROR RESMAN could not be reset |
Function that returns the IRES_Handle to resource requested using the IRES_ProtocolArgs.
- Parameters:
-
[in] | algHandle | Handle of the algorithm that is requesting the resources |
[in] | resDesc | Arguments to be interpreted by IRES_Manager implementation to determine actual physical resources to obtain |
[in] | scratchGroupId | Scratch Group Id where resources should be allocated |
[out] | status | IRESMAN_EOK Success IRESMAN_ENORESOURCE Resource unavailable IRESMAN_EERROR Error obtaining handles |
Frees handles back to the resource pool.
- Parameters:
-
[in] | algHandle | Handle of the algorithm that is releasing the resources |
[in] | resourceHandle | Handle that is to be released |
[in] | resDesc | Arguments that help determine which resources to free |
- Return values:
-
IRESMAN_EOK | Success IRESMAN_EERROR Handle could not be freed |
The documentation for this struct was generated from the following file: