Definitions for the nawarun implementation. More...
#include <memory>
#include <nawa/internal/fwdecl.h>
#include <optional>
#include <string>
#include <tuple>
#include <unistd.h>
#include <vector>
Go to the source code of this file.
Classes | |
struct | nawarun::Parameters |
Namespaces | |
namespace | nawarun |
Typedefs | |
using | nawarun::PrivilegeDowngradeData = std::tuple< uid_t, gid_t, std::vector< gid_t > > |
using | nawarun::init_t = int(nawa::AppInit &) |
using | nawarun::handleRequest_t = int(nawa::Connection &) |
Functions | |
unsigned int | nawarun::getConcurrency (nawa::Config const &config) |
std::pair< init_t *, std::shared_ptr< nawa::HandleRequestFunctionWrapper > > | nawarun::loadAppFunctions (nawa::Config const &config) |
void | nawarun::reload (int signum) |
std::optional< PrivilegeDowngradeData > | nawarun::preparePrivilegeDowngrade (nawa::Config const &config) |
void | nawarun::replaceLogger (nawa::Log const &log) |
Parameters | nawarun::parseCommandLine (int argc, char **argv) |
int | nawarun::run (Parameters const ¶meters) |
Definitions for the nawarun implementation.
Definition in file nawarun.h.
struct nawarun::Parameters |
Class Members | ||
---|---|---|
typedef pair< string, string > | ConfigOptionId | |
typedef pair< ConfigOptionId, string > | ConfigOverride |
Class Members | ||
---|---|---|
optional< string > | configFile | |
vector< ConfigOverride > | configOverrides |