Vince Harron | 3218c0f | 2015-01-06 23:38:24 +0000 | [diff] [blame^] | 1 | //===-- UriParser.h ---------------------------------------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | #ifndef utility_UriParser_h_ |
| 11 | #define utility_UriParser_h_ |
| 12 | |
| 13 | // C Includes |
| 14 | // C++ Includes |
| 15 | #include <string> |
| 16 | |
| 17 | // Other libraries and framework includes |
| 18 | // Project includes |
| 19 | |
| 20 | class UriParser |
| 21 | { |
| 22 | public: |
| 23 | static bool Parse(const char* uri, |
| 24 | std::string& scheme, |
| 25 | std::string& hostname, |
| 26 | int& port, |
| 27 | std::string& path |
| 28 | ); |
| 29 | }; |
| 30 | |
| 31 | #endif // utility_UriParser_h_ |