summaryrefslogtreecommitdiffstats
path: root/config/src/apps/configproxy-cmd/proxycmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'config/src/apps/configproxy-cmd/proxycmd.h')
-rw-r--r--config/src/apps/configproxy-cmd/proxycmd.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/config/src/apps/configproxy-cmd/proxycmd.h b/config/src/apps/configproxy-cmd/proxycmd.h
index 6fc8261991f..a0ef02edaae 100644
--- a/config/src/apps/configproxy-cmd/proxycmd.h
+++ b/config/src/apps/configproxy-cmd/proxycmd.h
@@ -1,9 +1,18 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
-#include "flags.h"
#include <vespa/fnet/frt/frt.h>
+struct Flags {
+ vespalib::string method;
+ std::vector<vespalib::string> args;
+ vespalib::string hostname;
+ int portnumber;
+ Flags(const Flags &);
+ Flags & operator=(const Flags &);
+ Flags();
+ ~Flags();
+};
class ProxyCmd
{
@@ -22,7 +31,7 @@ private:
public:
ProxyCmd(const Flags& flags);
- virtual ~ProxyCmd() {}
+ virtual ~ProxyCmd();
int action();
};