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
31
extern
"C"
{
32
#endif
33
34
typedef
uint8_t
svcfunc_t
(va_list p_ap);
35
36
void
svcmgr_register
(
const
char
* p_endpoint,
svcfunc_t
* p_service);
37
uint8_t
svcmgr_call
(
const
char
* p_endpoint,...);
38
void
svcmgr_unregister
(
const
char
* p_endpoint);
39
40
#ifdef __cplusplus
41
}
42
#endif
43
44
#endif
/* __SVCMGR_H__ */
svcmgr_register
void svcmgr_register(const char *p_endpoint, svcfunc_t *p_service)
Definition:
svcmgr.c:182
svcmgr_unregister
void svcmgr_unregister(const char *p_endpoint)
Definition:
svcmgr.c:259
svcmgr_call
uint8_t svcmgr_call(const char *p_endpoint,...)
Definition:
svcmgr.c:235
svcfunc_t
uint8_t svcfunc_t(va_list p_ap)
Definition:
svcmgr.h:34
src
svcmgr.h
Generated by
1.9.4