| Index: ppapi/native_client/src/trusted/plugin/utility.h
|
| diff --git a/ppapi/native_client/src/trusted/plugin/utility.h b/ppapi/native_client/src/trusted/plugin/utility.h
|
| index 062d22d8a384b2af5344ca270cf5317e01c66f53..8bb01943a358f10fa7c979fff136705c6e8c0021 100644
|
| --- a/ppapi/native_client/src/trusted/plugin/utility.h
|
| +++ b/ppapi/native_client/src/trusted/plugin/utility.h
|
| @@ -13,6 +13,7 @@
|
| #include "native_client/src/include/portability.h"
|
| #include "native_client/src/shared/platform/nacl_threads.h"
|
| #include "native_client/src/shared/platform/nacl_time.h"
|
| +#include "ppapi/c/private/pp_file_handle.h"
|
| #include "ppapi/c/private/ppb_nacl_private.h"
|
|
|
| #define SRPC_PLUGIN_DEBUG 1
|
| @@ -30,6 +31,11 @@ bool IsValidIdentifierString(const char* strval, uint32_t* length);
|
| const PPB_NaCl_Private* GetNaClInterface();
|
| void SetNaClInterface(const PPB_NaCl_Private* nacl_interface);
|
|
|
| +void CloseFileHandle(PP_FileHandle file_handle);
|
| +
|
| +// Converts a PP_FileHandle to a POSIX file descriptor.
|
| +int32_t ConvertFileDescriptor(PP_FileHandle handle, bool read_only);
|
| +
|
| // Debugging print utility
|
| extern int gNaClPluginDebugPrintEnabled;
|
| extern int NaClPluginPrintLog(const char *format, ...);
|
|
|