Address compiler warnings #10
This commit is contained in:
		| @@ -29,84 +29,84 @@ class i_remote_instance : public virtual i_remote_json { | ||||
|   INTERFACE_SETUP(i_remote_instance); | ||||
|  | ||||
| public: | ||||
|   virtual auto winfsp_can_delete(PVOID fileDesc, PWSTR fileName) | ||||
|   virtual auto winfsp_can_delete(PVOID file_desc, PWSTR file_name) | ||||
|       -> packet::error_type = 0; | ||||
|  | ||||
|   virtual auto winfsp_cleanup(PVOID fileDesc, PWSTR fileName, UINT32 flags, | ||||
|                               BOOLEAN &wasClosed) -> packet::error_type = 0; | ||||
|   virtual auto winfsp_cleanup(PVOID file_desc, PWSTR file_name, UINT32 flags, | ||||
|                               BOOLEAN &was_closed) -> packet::error_type = 0; | ||||
|  | ||||
|   virtual auto winfsp_close(PVOID fileDesc) -> packet::error_type = 0; | ||||
|   virtual auto winfsp_close(PVOID file_desc) -> packet::error_type = 0; | ||||
|  | ||||
|   virtual auto winfsp_create(PWSTR fileName, UINT32 createOptions, | ||||
|                              UINT32 grantedAccess, UINT32 fileAttributes, | ||||
|                              UINT64 allocationSize, PVOID *fileDesc, | ||||
|                              remote::file_info *fileInfo, | ||||
|                              std::string &normalizedName, BOOLEAN &exists) | ||||
|   virtual auto winfsp_create(PWSTR file_name, UINT32 create_options, | ||||
|                              UINT32 granted_access, UINT32 file_attributes, | ||||
|                              UINT64 allocation_size, PVOID *file_desc, | ||||
|                              remote::file_info *file_info, | ||||
|                              std::string &normalized_name, BOOLEAN &exists) | ||||
|       -> packet::error_type = 0; | ||||
|  | ||||
|   virtual auto winfsp_flush(PVOID fileDesc, remote::file_info *fileInfo) | ||||
|   virtual auto winfsp_flush(PVOID file_desc, remote::file_info *file_info) | ||||
|       -> packet::error_type = 0; | ||||
|  | ||||
|   virtual auto winfsp_get_dir_buffer(PVOID fileDesc, PVOID *&ptr) | ||||
|   virtual auto winfsp_get_dir_buffer(PVOID file_desc, PVOID *&ptr) | ||||
|       -> packet::error_type = 0; | ||||
|  | ||||
|   virtual auto winfsp_get_file_info(PVOID fileDesc, remote::file_info *fileInfo) | ||||
|   virtual auto winfsp_get_file_info(PVOID file_desc, remote::file_info *file_info) | ||||
|       -> packet::error_type = 0; | ||||
|  | ||||
|   virtual auto | ||||
|   winfsp_get_security_by_name(PWSTR fileName, PUINT32 fileAttributes, | ||||
|                               std::uint64_t *securityDescriptorSize, | ||||
|                               std::wstring &strDescriptor) | ||||
|   winfsp_get_security_by_name(PWSTR file_name, PUINT32 file_attributes, | ||||
|                               std::uint64_t *security_descriptor_size, | ||||
|                               std::wstring &str_descriptor) | ||||
|       -> packet::error_type = 0; | ||||
|  | ||||
|   virtual auto winfsp_get_volume_info(UINT64 &totalSize, UINT64 &freeSize, | ||||
|                                       std::string &volumeLabel) | ||||
|   virtual auto winfsp_get_volume_info(UINT64 &total_size, UINT64 &free_size, | ||||
|                                       std::string &volume_label) | ||||
|       -> packet::error_type = 0; | ||||
|  | ||||
|   virtual auto winfsp_mounted(const std::wstring &location) | ||||
|       -> packet::error_type = 0; | ||||
|  | ||||
|   virtual auto winfsp_open(PWSTR fileName, UINT32 createOptions, | ||||
|                            UINT32 grantedAccess, PVOID *fileDesc, | ||||
|                            remote::file_info *fileInfo, | ||||
|                            std::string &normalizedName) | ||||
|   virtual auto winfsp_open(PWSTR file_name, UINT32 create_options, | ||||
|                            UINT32 granted_access, PVOID *file_desc, | ||||
|                            remote::file_info *file_info, | ||||
|                            std::string &normalized_name) | ||||
|       -> packet::error_type = 0; | ||||
|  | ||||
|   virtual auto winfsp_overwrite(PVOID fileDesc, UINT32 fileAttributes, | ||||
|                                 BOOLEAN replaceFileAttributes, | ||||
|                                 UINT64 allocationSize, | ||||
|                                 remote::file_info *fileInfo) | ||||
|   virtual auto winfsp_overwrite(PVOID file_desc, UINT32 file_attributes, | ||||
|                                 BOOLEAN replace_file_attributes, | ||||
|                                 UINT64 allocation_size, | ||||
|                                 remote::file_info *file_info) | ||||
|       -> packet::error_type = 0; | ||||
|  | ||||
|   virtual auto winfsp_read(PVOID fileDesc, PVOID buffer, UINT64 offset, | ||||
|                            UINT32 length, PUINT32 bytesTransferred) | ||||
|   virtual auto winfsp_read(PVOID file_desc, PVOID buffer, UINT64 offset, | ||||
|                            UINT32 length, PUINT32 bytes_transferred) | ||||
|       -> packet::error_type = 0; | ||||
|  | ||||
|   virtual auto winfsp_read_directory(PVOID fileDesc, PWSTR pattern, | ||||
|   virtual auto winfsp_read_directory(PVOID file_desc, PWSTR pattern, | ||||
|                                      PWSTR marker, json &itemList) | ||||
|       -> packet::error_type = 0; | ||||
|  | ||||
|   virtual auto winfsp_rename(PVOID fileDesc, PWSTR fileName, PWSTR newFileName, | ||||
|                              BOOLEAN replaceIfExists) -> packet::error_type = 0; | ||||
|   virtual auto winfsp_rename(PVOID file_desc, PWSTR file_name, PWSTR new_file_name, | ||||
|                              BOOLEAN replace_if_exists) -> packet::error_type = 0; | ||||
|  | ||||
|   virtual auto winfsp_set_basic_info(PVOID fileDesc, UINT32 fileAttributes, | ||||
|                                      UINT64 creationTime, UINT64 lastAccessTime, | ||||
|                                      UINT64 lastWriteTime, UINT64 changeTime, | ||||
|                                      remote::file_info *fileInfo) | ||||
|   virtual auto winfsp_set_basic_info(PVOID file_desc, UINT32 file_attributes, | ||||
|                                      UINT64 creation_time, UINT64 last_access_time, | ||||
|                                      UINT64 last_write_time, UINT64 change_time, | ||||
|                                      remote::file_info *file_info) | ||||
|       -> packet::error_type = 0; | ||||
|  | ||||
|   virtual auto winfsp_set_file_size(PVOID fileDesc, UINT64 newSize, | ||||
|                                     BOOLEAN setAllocationSize, | ||||
|                                     remote::file_info *fileInfo) | ||||
|   virtual auto winfsp_set_file_size(PVOID file_desc, UINT64 new_size, | ||||
|                                     BOOLEAN set_allocation_size, | ||||
|                                     remote::file_info *file_info) | ||||
|       -> packet::error_type = 0; | ||||
|  | ||||
|   virtual auto winfsp_unmounted(const std::wstring &location) | ||||
|       -> packet::error_type = 0; | ||||
|  | ||||
|   virtual auto winfsp_write(PVOID fileDesc, PVOID buffer, UINT64 offset, | ||||
|                             UINT32 length, BOOLEAN writeToEndOfFile, | ||||
|                             BOOLEAN constrainedIo, PUINT32 bytesTransferred, | ||||
|                             remote::file_info *fileInfo) | ||||
|   virtual auto winfsp_write(PVOID file_desc, PVOID buffer, UINT64 offset, | ||||
|                             UINT32 length, BOOLEAN write_to_end, | ||||
|                             BOOLEAN constrained_io, PUINT32 bytes_transferred, | ||||
|                             remote::file_info *file_info) | ||||
|       -> packet::error_type = 0; | ||||
| }; | ||||
|  | ||||
|   | ||||
| @@ -266,7 +266,7 @@ public: | ||||
|                              remote::file_info *file_info) | ||||
|       -> packet::error_type override; | ||||
|  | ||||
|   auto winfsp_set_file_size(PVOID file_desc, UINT64 newSize, | ||||
|   auto winfsp_set_file_size(PVOID file_desc, UINT64 new_size, | ||||
|                             BOOLEAN set_allocation_size, | ||||
|                             remote::file_info *file_info) | ||||
|       -> packet::error_type override; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user