Commit Diff


commit - 75d552576b36e6005329689689467468eb3bebca
commit + abc0e99fc833ce79cac6cff68007809d3be64a1b
blob - 637d8f1d6d923e0dc6ef7ced3ce19fda72a06132
blob + 872c6d2fcef5372de45e294222cc882005fb1be6
--- capsule/coding_style.gmi
+++ capsule/coding_style.gmi
@@ -10,7 +10,7 @@
 ## Names
 
 Styles:
-* CamelCase for class and struct;
+* CamelCase for class, struct and enum;
 * snake_case for namespace, variable, function and method;
 * SCREAMING_CASE for constants.
 
blob - 980e20c255154fbbd82759f47d31da52140da1e2
blob + 9beac489676e75d5c1a7deee44be8c08bd0475e9
--- vostok/request.h
+++ vostok/request.h
@@ -35,20 +35,5 @@ class Request (private)
     std::vector<char> m_buffer;
 };
 
-enum url_normalization_result
-{
-    url_ok,
 
-    url_too_short,
-    url_non_gemini,
-    url_root_traverse,
-};
-
-/** Extract normalized path from URL as null-terminated string (inplace) */
-url_normalization_result
-extract_url_path(
-    /* in/out */ std::vector<char> &url
-);
-
-
 }   // namespace vostok