More separated Configuration functions
This commit is contained in:
parent
d892791ab6
commit
6c9fdce488
2 changed files with 35 additions and 0 deletions
20
inc/lweb_config.pbi
Normal file
20
inc/lweb_config.pbi
Normal file
|
@ -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
|
||||
|
||||
|
15
inc/lweb_config_header.pbi
Normal file
15
inc/lweb_config_header.pbi
Normal file
|
@ -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 a new issue