Commit Diff


commit - abc0e99fc833ce79cac6cff68007809d3be64a1b
commit + 6333d43a2fa3736e34bff678bfce4dd4796f1dfd
blob - b9f759c3f7cb8c276e7736ddb6cf270de97787d4
blob + 57e66102e99feb3ea744c75c80fe401f4e460b6d
--- vostok/open_file.cc
+++ vostok/open_file.cc
@@ -15,7 +15,7 @@ NotNull<czstring> index_gmi = "index.gmi";
 }   // namespace <unnamed>
 
 
-open_file_result open_file(int directory_fd, NotNull<czstring> file_name, UniqueFd &opened_file)
+OpenFileResult open_file(int directory_fd, NotNull<czstring> file_name, UniqueFd &opened_file)
 {
     if (!*file_name)
         file_name = index_gmi;
blob - fbbac29f2d23f9f486cc070d8bee803ae886cfc0
blob + 590540df0c18f30b106846d34ac69c0fe3cf54dc
--- vostok/open_file.h
+++ vostok/open_file.h
@@ -9,7 +9,7 @@ namespace vostok
 {
 
 
-enum open_file_result
+enum OpenFileResult
 {
     file_opened,
 
@@ -17,7 +17,7 @@ enum open_file_result
     file_opening_error,
 };
 
-open_file_result open_file(int directory_fd, NotNull<czstring> file_name, UniqueFd &opened_file);
+OpenFileResult open_file(int directory_fd, NotNull<czstring> file_name, UniqueFd &opened_file);
 
 
 }   // namespace vostok