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

  • prefix – Prefix of resources for this backend to respond to. For example, the reference backend responds to “/cpu/self”.

  • init – Initialization function called by CeedInit() when the backend is selected to drive the requested resource.

  • priority – Integer priority. Lower values are preferred in case the resource requested by CeedInit() has non-unique best prefix match.


An error code: 0 - success, otherwise - failure