aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/util/grpc_tool.h
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <zyc@google.com>2016-08-15 11:34:21 -0700
committerGravatar Yuchen Zeng <zyc@google.com>2016-08-15 11:34:21 -0700
commit02139a05dc928ac4fa27c7b794a859e42f3b0831 (patch)
treece916eac52e91502f20dc780ab4b67f61b4c9d64 /test/cpp/util/grpc_tool.h
parent26386e1fa0a3ff5f44d37279e73eb227213fe396 (diff)
Add CliCredentials, config_grpc_cli.h
Diffstat (limited to 'test/cpp/util/grpc_tool.h')
-rw-r--r--test/cpp/util/grpc_tool.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/cpp/util/grpc_tool.h b/test/cpp/util/grpc_tool.h
index 0c7217d962..3da86937c2 100644
--- a/test/cpp/util/grpc_tool.h
+++ b/test/cpp/util/grpc_tool.h
@@ -34,15 +34,18 @@
#ifndef GRPC_TEST_CPP_UTIL_GRPC_TOOL_H
#define GRPC_TEST_CPP_UTIL_GRPC_TOOL_H
-#include <grpc++/support/config.h>
#include <functional>
+#include <grpc++/support/config.h>
+
+#include "test/cpp/util/cli_credentials.h"
+
namespace grpc {
namespace testing {
typedef std::function<bool(const grpc::string &)> GrpcToolOutputCallback;
-int GrpcToolMainLib(int argc, const char **argv,
+int GrpcToolMainLib(int argc, const char **argv, CliCredentials cred,
GrpcToolOutputCallback callback);
} // namespace testing