Prettified error messages, first work on Util::Config server helpers.

This commit is contained in:
Thulinma 2014-01-22 23:47:59 +01:00
parent c6f63dfb95
commit 5c0f053006
25 changed files with 1254 additions and 327 deletions

View file

@ -33,6 +33,9 @@ namespace Util {
long long int getInteger(std::string optname);
bool getBool(std::string optname);
void activate();
int serveThreadedSocket(void (*callback)(Socket::Connection & S));
int serveForkedSocket(void (*callback)(Socket::Connection & S));
int servePlainSocket(void (*callback)(Socket::Connection & S));
void addBasicConnectorOptions(JSON::Value & capabilities);
void addConnectorOptions(int port, JSON::Value & capabilities);
};