summaryrefslogtreecommitdiffstats
path: root/remoting/client/client_util.h
blob: 3660563ef28fa889d8b4b1e8cd2162d849d54b1e (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 {

struct ClientConfig;

// Get the login info from the cmdline args (or request from the console if
// not present) and write values into |config|.
// Return true if successful.
bool GetLoginInfoFromArgs(int argc, char** argv, ClientConfig* config);

}  // namespace remoting

#endif  // REMOTING_CLIENT_CLIENT_UTIL_H_