mkernel 0.0.1
Micro-kernel framework, everything as a module
|
Service manager header. More...
#include <stdint.h>
#include <stdarg.h>
Go to the source code of this file.
Typedefs | |
typedef uint8_t | svcfunc_t(va_list p_ap) |
Functions | |
void | svcmgr_register (const char *p_endpoint, svcfunc_t *p_service) |
uint8_t | svcmgr_call (const char *p_endpoint,...) |
void | svcmgr_unregister (const char *p_endpoint) |
Service manager header.
Defines a service dictionnary or registry in which a module can register and call a new service, with an endpoint, a callback function and an arbitrary number of arguments.
Definition in file svcmgr.h.
void svcmgr_register | ( | const char * | p_endpoint, |
svcfunc_t * | p_service | ||
) |