Manager/Worker Paradigm
The Manager/Worker Paradigm requires the developer to write three functions that are to be passed into SPDI_RegisterFunctions:
This allows SPDI to call the appropriate developer written function depending which state it is in
- Initialization
- Working
- Finalization
SPDI_STATUS_CODE_ENUM SPDI_RegisterFunctions
( SPDI_InitFunction init_func,
SPDI_Function finalize_func