summaryrefslogtreecommitdiff
path: root/src/lib/server.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-26 02:56:38 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-26 02:56:38 +0100
commitc317087f637eeaa88c00a7b415b1d42ab28ba031 (patch)
tree171928ddec3057524270989283272de83ec0a8eb /src/lib/server.h
parentdf109c0941744bd808c9d3c1702381aebec27da0 (diff)
Partial server dialog fixes.
Diffstat (limited to 'src/lib/server.h')
-rw-r--r--src/lib/server.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/server.h b/src/lib/server.h
index f7a0abb80..d06df34e9 100644
--- a/src/lib/server.h
+++ b/src/lib/server.h
@@ -48,6 +48,14 @@ public:
return _threads;
}
+ void set_host_name (std::string n) {
+ _host_name = n;
+ }
+
+ void set_threads (int t) {
+ _threads = t;
+ }
+
std::string as_metadata () const;
static Server * create_from_metadata (std::string v);