aboutsummaryrefslogtreecommitdiffhomepage
path: root/views
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2022-11-23 22:12:48 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2022-12-11 17:31:37 -0500
commitfc49148876e94924d4218b078c212578bbec9c10 (patch)
treec4940ecf228b10cb89f47b2da000365d5bbcc4c6 /views
sort how you want this to be
Diffstat (limited to 'views')
-rw-r--r--views/configuration.txt10
-rw-r--r--views/configuration_example.txt11
2 files changed, 21 insertions, 0 deletions
diff --git a/views/configuration.txt b/views/configuration.txt
new file mode 100644
index 0000000..8e9540d
--- /dev/null
+++ b/views/configuration.txt
@@ -0,0 +1,10 @@
+struct Cfg {
+ string http_request_type = "http";
+ string http_host = "localhost";
+ string www_url_doc_subroot = "/spine";
+ string cgi_filename = "spine_search";
+ string cgi_search_form_title = "≅ SiSU Spine search";
+ string db_sqlite_path = "/var/www/sqlite";
+ string db_sqlite_filename = "spine.search.db";
+}
+enum _cfg = Cfg();
diff --git a/views/configuration_example.txt b/views/configuration_example.txt
new file mode 100644
index 0000000..0d5be00
--- /dev/null
+++ b/views/configuration_example.txt
@@ -0,0 +1,11 @@
+/+ obt - org-mode generated file +/
+struct Cfg {
+ string http_request_type = "http";
+ string http_host = "localhost";
+ string www_url_doc_subroot = "/spine";
+ string cgi_filename = "spine_search";
+ string cgi_search_form_title = "≅ SiSU Spine search";
+ string db_sqlite_path = "/var/www/sqlite";
+ string db_sqlite_filename = "spine.search.db";
+}
+enum _cfg = Cfg();