Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00051 #ifndef ti_sdo_fc_ires_IRESMAN_
00052 #define ti_sdo_fc_ires_IRESMAN_
00053
00056
00057 #ifdef __cplusplus
00058 extern "C" {
00059 #endif
00060
00061 #include <ti/xdais/ires_common.h>
00062 #include <ti/xdais/ires.h>
00063
00068 typedef Bool (IRESMAN_PersistentAllocFxn)(IALG_MemRec *memTab, Int numRecs);
00069
00074 typedef Void (IRESMAN_PersistentFreeFxn)(IALG_MemRec *memTab, Int numRecs);
00075
00076
00082 typedef struct IRESMAN_Params {
00083 Int32 size;
00089 IRESMAN_PersistentAllocFxn * allocFxn;
00090
00095 IRESMAN_PersistentFreeFxn * freeFxn;
00096
00097 } IRESMAN_Params;
00098
00099 typedef struct IRESMAN_Fxns {
00100
00104 String (*getProtocolName)();
00105
00110 IRES_ProtocolRevision * (* getProtocolRevision)();
00111
00123 IRES_Status (* init)(IRESMAN_Params * initArgs);
00124
00132 IRES_Status (* exit)();
00133
00152 IRES_Handle (* getHandle)(IALG_Handle algHandle,
00153 IRES_ResourceDescriptor * resDesc, Int scratchGroupId,
00154 IRES_Status * status);
00155
00166 IRES_Status (* freeHandle)(IALG_Handle algHandle,
00167 IRES_Handle resourceHandle, IRES_ResourceDescriptor * resDesc,
00168 Int scratchGroupId);
00169
00170
00171 Void (* activateResource)(IALG_Handle algHandle, IRES_Fxns * resFxns);
00172
00173 Void (* deactivateResource)(IALG_Handle algHandle, IRES_Fxns * resFxns);
00174
00175 } IRESMAN_Fxns;
00176
00177 #ifdef __cplusplus
00178 }
00179 #endif
00180
00183 #endif
00184
00185
00186
00187
00188