summaryrefslogtreecommitdiff
path: root/libs/binder/OS.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/binder/OS.h')
-rw-r--r--libs/binder/OS.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/binder/OS.h b/libs/binder/OS.h
index 5ab8bab0e7..0d38968ade 100644
--- a/libs/binder/OS.h
+++ b/libs/binder/OS.h
@@ -33,4 +33,12 @@ status_t dupFileDescriptor(int oldFd, int* newFd);
std::unique_ptr<RpcTransportCtxFactory> makeDefaultRpcTransportCtxFactory();
+int sendMessageOnSocket(
+ const RpcTransportFd& socket, iovec* iovs, int niovs,
+ const std::vector<std::variant<base::unique_fd, base::borrowed_fd>>* ancillaryFds);
+
+int receiveMessageFromSocket(
+ const RpcTransportFd& socket, iovec* iovs, int niovs,
+ std::vector<std::variant<base::unique_fd, base::borrowed_fd>>* ancillaryFds);
+
} // namespace android