summaryrefslogtreecommitdiffhomepage
path: root/views
diff options
context:
space:
mode:
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();