summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/examples/turnserver/read_auth_file.h
blob: 1c139c99240cae9d1a1f7ba483e595c331f1c0a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 *  Copyright 2018 The WebRTC Project Authors. All rights reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */

#ifndef EXAMPLES_TURNSERVER_READ_AUTH_FILE_H_
#define EXAMPLES_TURNSERVER_READ_AUTH_FILE_H_

#include <istream>
#include <map>
#include <string>

namespace webrtc_examples {

std::map<std::string, std::string> ReadAuthFile(std::istream* s);

}  // namespace webrtc_examples

#endif  // EXAMPLES_TURNSERVER_READ_AUTH_FILE_H_