More separated Configuration functions
This commit is contained in:
parent
d892791ab6
commit
6c9fdce488
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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)
|
Loading…
Reference in New Issue