mkernel 0.0.2
Micro-kernel framework, everything as a module
|
Service manager implementation. More...
#include "svcmgr.h"
#include "gettext.h"
#include <stdarg.h>
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "debug/assert.h"
#include "debug/memory.h"
Go to the source code of this file.
Classes | |
struct | service_s |
Macros | |
#define | _(String) gettext (String) |
Typedefs | |
typedef struct service_s | service_t |
Functions | |
void | svcmgr_dump (const char *p_prefix, service_t *p_list) |
void | svcmgr_register (const char *p_endpoint, svcfunc_t *p_svcfunc) |
uint8_t | svcmgr_call (const char *p_endpoint,...) |
void | svcmgr_unregister (const char *p_endpoint) |
Service manager implementation.
make threadsafe
investigate prefix or b+* trees
Implements the services dictionnary in an n-tree structure.
Definition in file svcmgr.c.
void svcmgr_dump | ( | const char * | p_prefix, |
service_t * | p_list | ||
) |
void svcmgr_register | ( | const char * | p_endpoint, |
svcfunc_t * | p_svcfunc | ||
) |