summaryrefslogtreecommitdiff
path: root/libs/binder/RpcSocketAddress.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/binder/RpcSocketAddress.h')
-rw-r--r--libs/binder/RpcSocketAddress.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/binder/RpcSocketAddress.h b/libs/binder/RpcSocketAddress.h
index c7ba5d96a7..ee7d448c43 100644
--- a/libs/binder/RpcSocketAddress.h
+++ b/libs/binder/RpcSocketAddress.h
@@ -113,4 +113,11 @@ private:
unsigned int mPort;
};
+/**
+ * Connects to a single socket and produces a RpcTransportFd.
+ */
+status_t singleSocketConnection(const RpcSocketAddress& address,
+ const std::unique_ptr<FdTrigger>& shutdownTrigger,
+ RpcTransportFd* outFd);
+
} // namespace android