Index: native_client_sdk/src/libraries/nacl_io/kernel_object.h |
diff --git a/native_client_sdk/src/libraries/nacl_io/kernel_object.h b/native_client_sdk/src/libraries/nacl_io/kernel_object.h |
index 97b197f80513b07d9644bda8a9301d88781a0d50..15105f3aa3a4b8d03ca7745d1170ed6831430448 100644 |
--- a/native_client_sdk/src/libraries/nacl_io/kernel_object.h |
+++ b/native_client_sdk/src/libraries/nacl_io/kernel_object.h |
@@ -29,11 +29,13 @@ class KernelObject { |
virtual ~KernelObject(); |
// Find the mount for the given path, and acquires it |
- Mount* AcquireMountAndPath(const std::string& relpath, Path *pobj); |
+ int AcquireMountAndPath(const std::string& relpath, |
noelallen1
2013/06/07 21:48:43
Error?
binji
2013/06/07 23:23:11
Done.
|
+ Mount** mount, |
+ Path* pobj); |
void ReleaseMount(Mount* mnt); |
// Convert from FD to KernelHandle, and acquire the handle. |
- KernelHandle* AcquireHandle(int fd); |
+ int AcquireHandle(int fd, KernelHandle** handle); |
noelallen1
2013/06/07 21:48:43
Error?
binji
2013/06/07 23:23:11
Done.
|
void ReleaseHandle(KernelHandle* handle); |
// Allocate a new fd and assign the handle to it, while |