summaryrefslogtreecommitdiffstats
path: root/logforwarder/src/apps/vespa-logforwarder-start/child-handler.h
diff options
context:
space:
mode:
authorArne Juul <arnej@yahoo-inc.com>2017-10-13 08:59:28 +0000
committerArne Juul <arnej@yahoo-inc.com>2017-10-13 13:16:40 +0000
commit141768384af166828c96193d9bd09187f08272a7 (patch)
tree2b8f508d3e52934d8a8e05555956f7836858921c /logforwarder/src/apps/vespa-logforwarder-start/child-handler.h
parent16935169b8064d78c341b1db765f2e7d0852cba6 (diff)
refactor child startup
Diffstat (limited to 'logforwarder/src/apps/vespa-logforwarder-start/child-handler.h')
-rw-r--r--logforwarder/src/apps/vespa-logforwarder-start/child-handler.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/logforwarder/src/apps/vespa-logforwarder-start/child-handler.h b/logforwarder/src/apps/vespa-logforwarder-start/child-handler.h
new file mode 100644
index 00000000000..619dc1e40aa
--- /dev/null
+++ b/logforwarder/src/apps/vespa-logforwarder-start/child-handler.h
@@ -0,0 +1,12 @@
+// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+#pragma once
+
+#include <vespa/vespalib/stllike/string.h>
+
+class ChildHandler {
+private:
+ bool _childRunning;
+public:
+ void startChild(const vespalib::string &prefix);
+ ChildHandler();
+};