| Index: native_client_sdk/src/libraries/nacl_io/nacl_io.h
|
| diff --git a/native_client_sdk/src/libraries/nacl_mounts/nacl_mounts.h b/native_client_sdk/src/libraries/nacl_io/nacl_io.h
|
| similarity index 89%
|
| rename from native_client_sdk/src/libraries/nacl_mounts/nacl_mounts.h
|
| rename to native_client_sdk/src/libraries/nacl_io/nacl_io.h
|
| index d750f56ff33db3dd4762d5dc799b95990cced1a1..3a9405742bb74b5af33bf663c9d580771792dc0a 100644
|
| --- a/native_client_sdk/src/libraries/nacl_mounts/nacl_mounts.h
|
| +++ b/native_client_sdk/src/libraries/nacl_io/nacl_io.h
|
| @@ -2,31 +2,31 @@
|
| * Use of this source code is governed by a BSD-style license that can be
|
| * found in the LICENSE file.
|
| */
|
| -#ifndef LIBRARIES_NACL_MOUNTS_NACL_MOUNTS_H_
|
| -#define LIBRARIES_NACL_MOUNTS_NACL_MOUNTS_H_
|
| +#ifndef LIBRARIES_NACL_IO_NACL_IO_H_
|
| +#define LIBRARIES_NACL_IO_NACL_IO_H_
|
|
|
| #include <ppapi/c/pp_instance.h>
|
| #include <ppapi/c/ppb.h>
|
|
|
| -#include "nacl_mounts/kernel_wrap.h"
|
| +#include "nacl_io/kernel_wrap.h"
|
| #include "utils/macros.h"
|
|
|
| EXTERN_C_BEGIN
|
|
|
|
|
| -/** Initialize nacl_mounts.
|
| +/** Initialize nacl_io.
|
| *
|
| - * NOTE: If you initialize nacl_mounts with this constructor, you cannot
|
| + * NOTE: If you initialize nacl_io with this constructor, you cannot
|
| * use any mounts that require PPAPI; e.g. persistent storage, etc.
|
| */
|
| -void nacl_mounts_init();
|
| +void nacl_io_init();
|
|
|
| -/** Initialize nacl_mounts with PPAPI support.
|
| +/** Initialize nacl_io with PPAPI support.
|
| *
|
| * Usage:
|
| * PP_Instance instance;
|
| * PPB_GetInterface get_interface;
|
| - * nacl_mounts_init(instance, get_interface);
|
| + * nacl_io_init(instance, get_interface);
|
| *
|
| * If you are using the PPAPI C interface:
|
| * |instance| is passed to your instance in the DidCreate function.
|
| @@ -38,7 +38,7 @@ void nacl_mounts_init();
|
| * |get_interface| can be retrieved via
|
| * pp::Module::Get()->get_browser_interface()
|
| */
|
| -void nacl_mounts_init_ppapi(PP_Instance instance,
|
| +void nacl_io_init_ppapi(PP_Instance instance,
|
| PPB_GetInterface get_interface);
|
|
|
|
|
| @@ -108,4 +108,4 @@ int mount(const char* source, const char* target, const char* filesystemtype,
|
|
|
| EXTERN_C_END
|
|
|
| -#endif // LIBRARIES_NACL_MOUNTS_NACL_MOUNTS_H_
|
| +#endif // LIBRARIES_NACL_IO_NACL_IO_H_
|
|
|