summaryrefslogtreecommitdiffstats
path: root/config/src/apps/vespa-configproxy-cmd/methods.h
diff options
context:
space:
mode:
Diffstat (limited to 'config/src/apps/vespa-configproxy-cmd/methods.h')
-rw-r--r--config/src/apps/vespa-configproxy-cmd/methods.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/config/src/apps/vespa-configproxy-cmd/methods.h b/config/src/apps/vespa-configproxy-cmd/methods.h
new file mode 100644
index 00000000000..01f54a0a9d9
--- /dev/null
+++ b/config/src/apps/vespa-configproxy-cmd/methods.h
@@ -0,0 +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 <vespa/vespalib/stllike/string.h>
+
+struct Method {
+ const char *shortName;
+ const char *rpcMethod;
+ const int args;
+};
+
+namespace methods {
+
+const Method find(const vespalib::string &name);
+void dump();
+
+};
+