From 6c9fdce4884883be1f2b39af7d5e76a549e4b5e1 Mon Sep 17 00:00:00 2001 From: Ground0 Date: Wed, 29 Mar 2023 10:37:51 +0200 Subject: [PATCH] More separated Configuration functions --- inc/lweb_config.pbi | 20 ++++++++++++++++++++ inc/lweb_config_header.pbi | 15 +++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 inc/lweb_config.pbi create mode 100644 inc/lweb_config_header.pbi diff --git a/inc/lweb_config.pbi b/inc/lweb_config.pbi new file mode 100644 index 0000000..f43ed08 --- /dev/null +++ b/inc/lweb_config.pbi @@ -0,0 +1,20 @@ +;******************************** +;* +;* lweb_config.pbi +;* +;* LiHaSo Webserver Config module. +;* +;* Configuration Module for Configs. +;* + +;Set Configuration Paramters as a JSON +Procedure.s config_set(ID.s, JSONConfig.s) + +EndProcedure + +;Get the whole Config as a JSON String +Procedure.s config_get(ID.s) + +EndProcedure + + diff --git a/inc/lweb_config_header.pbi b/inc/lweb_config_header.pbi new file mode 100644 index 0000000..e56b15e --- /dev/null +++ b/inc/lweb_config_header.pbi @@ -0,0 +1,15 @@ +;******************************** +;* +;* lweb_config_header.pbi +;* +;* Header File +;* +;* LiHaSo Webserver Config module. +;* +;* Configuration Module for Configs. +;* + +;Set Configuration Paramters as a JSON +Declare.s config_set(ID.s, JSONConfig.s) +;Get the whole Config as a JSON String +Declare.s config_get(ID.s)