aboutsummaryrefslogtreecommitdiff
path: root/web/module
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-22 18:56:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-08 18:26:00 +0200
commiteb16296f88ce0fdb4a98a08950b58a346a6e2bd9 (patch)
tree007cd0c925705a488a053b756fc9b3f41e464118 /web/module
parent1d2117596f23b8606a17f74946a229944558d3a4 (diff)
Log brep and libs version on web server startup
Diffstat (limited to 'web/module')
-rw-r--r--web/module9
1 files changed, 9 insertions, 0 deletions
diff --git a/web/module b/web/module
index 50cc6be..704fa6d 100644
--- a/web/module
+++ b/web/module
@@ -195,6 +195,15 @@ namespace web
options () = 0;
// During startup the web server calls this function on the module
+ // exemplar to log the module version information. It is up to the web
+ // server whether to call this function once per module implementation
+ // type. Therefore, it is expected that this function will log the same
+ // information for all the module exemplars.
+ //
+ virtual void
+ version (log&) = 0;
+
+ // During startup the web server calls this function on the module
// exemplar passing a list of configuration options. The place these
// configuration options come from is implementation-specific (normally
// a configuration file). The web server guarantees that only options