summaryrefslogtreecommitdiff
path: root/include/gui/BitTube.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gui/BitTube.h')
-rw-r--r--include/gui/BitTube.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gui/BitTube.h b/include/gui/BitTube.h
index d32df846e8..3ecac52ad7 100644
--- a/include/gui/BitTube.h
+++ b/include/gui/BitTube.h
@@ -48,6 +48,9 @@ public:
// get receive file-descriptor
int getFd() const;
+ // get the send file-descriptor.
+ int getSendFd() const;
+
// send objects (sized blobs). All objects are guaranteed to be written or the call fails.
template <typename T>
static ssize_t sendObjects(const sp<BitTube>& tube,