summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'libappfuse/FuseBridgeLoop.cc')
-rw-r--r--libappfuse/FuseBridgeLoop.cc14
1 files changed, 4 insertions, 10 deletions
diff --git a/libappfuse/FuseBridgeLoop.cc b/libappfuse/FuseBridgeLoop.cc
index beee4a6f5..2386bf84b 100644
--- a/libappfuse/FuseBridgeLoop.cc
+++ b/libappfuse/FuseBridgeLoop.cc
@@ -20,12 +20,13 @@
20#include <android-base/unique_fd.h> 20#include <android-base/unique_fd.h>
21 21
22namespace android { 22namespace android {
23namespace fuse {
23 24
24bool FuseBridgeLoop::Start( 25bool StartFuseBridgeLoop(
25 int raw_dev_fd, int raw_proxy_fd, FuseBridgeLoop::Callback* callback) { 26 int raw_dev_fd, int raw_proxy_fd, FuseBridgeLoopCallback* callback) {
26 base::unique_fd dev_fd(raw_dev_fd); 27 base::unique_fd dev_fd(raw_dev_fd);
27 base::unique_fd proxy_fd(raw_proxy_fd); 28 base::unique_fd proxy_fd(raw_proxy_fd);
28 fuse::FuseBuffer buffer; 29 FuseBuffer buffer;
29 size_t open_count = 0; 30 size_t open_count = 0;
30 31
31 LOG(DEBUG) << "Start fuse loop."; 32 LOG(DEBUG) << "Start fuse loop.";
@@ -96,12 +97,5 @@ bool FuseBridgeLoop::Start(
96 } 97 }
97} 98}
98 99
99namespace fuse {
100
101bool StartFuseBridgeLoop(
102 int raw_dev_fd, int raw_proxy_fd, FuseBridgeLoopCallback* callback) {
103 return FuseBridgeLoop().Start(raw_dev_fd, raw_proxy_fd, callback);
104}
105
106} // namespace fuse 100} // namespace fuse
107} // namespace android 101} // namespace android