Ceed
-
int CeedRegisterImpl(const char *prefix, int (*init)(const char*, Ceed), unsigned int priority)
Register a Ceed backend internally.
Note: Backends should call
CeedRegister
instead.Library Developer Functions
- Parameters:
prefix – [in] Prefix of resources for this backend to respond to. For example, the reference backend responds to “/cpu/self”.
init – [in] Initialization function called by CeedInit() when the backend is selected to drive the requested resource.
priority – [in] Integer priority. Lower values are preferred in case the resource requested by CeedInit() has non-unique best prefix match.
- Returns:
An error code: 0 - success, otherwise - failure