blob: 44f343505162177380a1bc9808547d358066b08d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef REMOTING_CLIENT_CLIENT_UTIL_H_
#define REMOTING_CLIENT_CLIENT_UTIL_H_
#include <string>
namespace remoting {
// Get the login info from the cmdline args (or request from the console if
// not present) and write values into |host_jid|, |username| and |auth_token|.
// Return true if successful.
bool GetLoginInfo(int argc, char** argv,
std::string* host_jid, std::string* username,
std::string* auth_token);
} // namespace remoting
#endif // REMOTING_CLIENT_CLIENT_UTIL_H_
|