Converted argument style to new singular method.
This commit is contained in:
parent
5505b68bc2
commit
1f5dfdc580
8 changed files with 102 additions and 157 deletions
|
@ -40,6 +40,7 @@ namespace Util {
|
|||
int serveThreadedSocket(int (*callback)(Socket::Connection & S));
|
||||
int serveForkedSocket(int (*callback)(Socket::Connection & S));
|
||||
int servePlainSocket(int (*callback)(Socket::Connection & S));
|
||||
void addOptionsFromCapabilities(const JSON::Value & capabilities);
|
||||
void addBasicConnectorOptions(JSON::Value & capabilities);
|
||||
void addConnectorOptions(int port, JSON::Value & capabilities);
|
||||
};
|
||||
|
@ -53,7 +54,4 @@ namespace Util {
|
|||
/// Will set the active user to the named username.
|
||||
void setUser(std::string user);
|
||||
|
||||
/// Will turn the current process into a daemon.
|
||||
void Daemonize(bool notClose = false);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue