mkernel 0.0.1
Micro-kernel framework, everything as a module
svcmgr.h
Go to the documentation of this file.
1
20#ifndef __SVCMGR_H__
21#define __SVCMGR_H__
22
23#ifdef HAVE_CONFIG_H
24#include "config.h"
25#endif
26
27#include <stdint.h>
28#include <stdarg.h> /* va_list, va_start, va_arg, va_end */
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34typedef uint8_t svcfunc_t (va_list p_ap);
35
36void svcmgr_register(const char* p_endpoint, svcfunc_t* p_service);
37uint8_t svcmgr_call(const char* p_endpoint,...);
38void svcmgr_unregister(const char* p_endpoint);
39
40#ifdef __cplusplus
41}
42#endif
43
44#endif /* __SVCMGR_H__ */
void svcmgr_register(const char *p_endpoint, svcfunc_t *p_service)
Definition: svcmgr.c:182
void svcmgr_unregister(const char *p_endpoint)
Definition: svcmgr.c:259
uint8_t svcmgr_call(const char *p_endpoint,...)
Definition: svcmgr.c:235
uint8_t svcfunc_t(va_list p_ap)
Definition: svcmgr.h:34