read_auth_file.h 758 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright 2018 The WebRTC Project Authors. All rights reserved.
  3. *
  4. * Use of this source code is governed by a BSD-style license
  5. * that can be found in the LICENSE file in the root of the source
  6. * tree. An additional intellectual property rights grant can be found
  7. * in the file PATENTS. All contributing project authors may
  8. * be found in the AUTHORS file in the root of the source tree.
  9. */
  10. #ifndef EXAMPLES_TURNSERVER_READ_AUTH_FILE_H_
  11. #define EXAMPLES_TURNSERVER_READ_AUTH_FILE_H_
  12. #include <istream>
  13. #include <map>
  14. #include <string>
  15. namespace webrtc_examples {
  16. std::map<std::string, std::string> ReadAuthFile(std::istream* s);
  17. } // namespace webrtc_examples
  18. #endif // EXAMPLES_TURNSERVER_READ_AUTH_FILE_H_