Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ppb_file_system.h
Go to the documentation of this file.
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2  * Use of this source code is governed by a BSD-style license that can be
3  * found in the LICENSE file.
4  */
5 
6 /* From ppb_file_system.idl modified Thu Oct 20 13:57:04 2016. */
7 
8 #ifndef PPAPI_C_PPB_FILE_SYSTEM_H_
9 #define PPAPI_C_PPB_FILE_SYSTEM_H_
10 
11 #include "ppapi/c/pp_bool.h"
13 #include "ppapi/c/pp_file_info.h"
14 #include "ppapi/c/pp_instance.h"
15 #include "ppapi/c/pp_macros.h"
16 #include "ppapi/c/pp_resource.h"
17 #include "ppapi/c/pp_stdint.h"
18 
19 #define PPB_FILESYSTEM_INTERFACE_1_0 "PPB_FileSystem;1.0"
20 #define PPB_FILESYSTEM_INTERFACE PPB_FILESYSTEM_INTERFACE_1_0
21 
78  int32_t (*Open)(PP_Resource file_system,
79  int64_t expected_size,
80  struct PP_CompletionCallback callback);
93 };
94 
95 typedef struct PPB_FileSystem_1_0 PPB_FileSystem;
100 #endif /* PPAPI_C_PPB_FILE_SYSTEM_H_ */
101 
PP_Resource(* Create)(PP_Instance instance, PP_FileSystemType type)
Definition: ppb_file_system.h:47
int32_t(* Open)(PP_Resource file_system, int64_t expected_size, struct PP_CompletionCallback callback)
Definition: ppb_file_system.h:78
PP_Bool(* IsFileSystem)(PP_Resource resource)
Definition: ppb_file_system.h:58
int32_t PP_Resource
Definition: pp_resource.h:40
PP_FileSystemType
Definition: pp_file_info.h:41
PP_FileSystemType(* GetType)(PP_Resource file_system)
Definition: ppb_file_system.h:92
int32_t PP_Instance
Definition: pp_instance.h:34
Definition: ppb_file_system.h:36
PP_Bool
Definition: pp_bool.h:30
Definition: pp_completion_callback.h:139