Pepper_31_C_interfaces
Main Page
Modules
Classes
Files
File List
File Members
private
ppb_file_io_private.h
Go to the documentation of this file.
1
/* Copyright (c) 2013 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 private/ppb_file_io_private.idl modified Wed Mar 27 14:43:25 2013. */
7
8
#ifndef PPAPI_C_PRIVATE_PPB_FILE_IO_PRIVATE_H_
9
#define PPAPI_C_PRIVATE_PPB_FILE_IO_PRIVATE_H_
10
11
#include "ppapi/c/pp_completion_callback.h"
12
#include "ppapi/c/pp_macros.h"
13
#include "ppapi/c/pp_resource.h"
14
#include "ppapi/c/pp_stdint.h"
15
16
#define PPB_FILEIO_PRIVATE_INTERFACE_0_1 "PPB_FileIO_Private;0.1"
17
#define PPB_FILEIO_PRIVATE_INTERFACE PPB_FILEIO_PRIVATE_INTERFACE_0_1
18
19
/**
20
* @file
21
*/
22
23
24
#include "ppapi/c/private/pp_file_handle.h"
25
26
/**
27
* @addtogroup Interfaces
28
* @{
29
*/
30
/* PPB_FileIO_Private interface */
31
struct
PPB_FileIO_Private_0_1
{
32
/**
33
* Returns a file handle corresponding to the given FileIO
34
* object. The FileIO object must have been opened with a
35
* successful call to FileIO::Open. The caller gets the ownership
36
* of the returned file handle and must close it.
37
*/
38
int32_t (*
RequestOSFileHandle
)(
PP_Resource
file_io,
39
PP_FileHandle
* handle,
40
struct
PP_CompletionCallback
callback);
41
};
42
43
typedef
struct
PPB_FileIO_Private_0_1
PPB_FileIO_Private
;
44
/**
45
* @}
46
*/
47
48
#endif
/* PPAPI_C_PRIVATE_PPB_FILE_IO_PRIVATE_H_ */
49
PPB_FileIO_Private_0_1
Definition:
ppb_file_io_private.h:31
PP_FileHandle
int PP_FileHandle
Definition:
pp_file_handle.h:26
PP_Resource
int32_t PP_Resource
Definition:
pp_resource.h:40
PPB_FileIO_Private_0_1::RequestOSFileHandle
int32_t(* RequestOSFileHandle)(PP_Resource file_io, PP_FileHandle *handle, struct PP_CompletionCallback callback)
Definition:
ppb_file_io_private.h:38
PP_CompletionCallback
Definition:
pp_completion_callback.h:139
Generated on Wed May 4 2016 11:31:13 for Pepper_31_C_interfaces by
1.8.6