aboutsummaryrefslogtreecommitdiffstats
path: root/android/sync-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'android/sync-utils.h')
-rw-r--r--android/sync-utils.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/android/sync-utils.h b/android/sync-utils.h
index f522e27..726b310 100644
--- a/android/sync-utils.h
+++ b/android/sync-utils.h
@@ -205,4 +205,12 @@ ssize_t syncsocket_read_line(SyncSocket* ssocket,
size_t size,
int timeout);
+/* Gets socket descriptor associated with the sync socket.
+ * Param:
+ * ssocket - SyncSocket descriptor obtained from syncsocket_connect routine.
+ * Return
+ * Socket descriptor associated with the sync socket.
+ */
+int syncsocket_get_socket(SyncSocket* ssocket);
+
#endif // ANDROID_SYNC_UTILS_H