forked from github/server
1af315ebf2
clean up/remove a ton of includes, especially of types.h (include in header if you need it, not in every .c file).
14 lines
273 B
C
Executable file
14 lines
273 B
C
Executable file
#include "bind_settings.h"
|
|
|
|
#include <platform.h>
|
|
#include <kernel/config.h>
|
|
|
|
const char * settings_get(const char *key)
|
|
{
|
|
return get_param(global.parameters, key);
|
|
}
|
|
|
|
void settings_set(const char *key, const char *value)
|
|
{
|
|
set_param(&global.parameters, key, value);
|
|
}
|