diff options
author | Vladimir Chtchetkine <vchtchetkine@google.com> | 2010-12-20 08:28:03 -0800 |
---|---|---|
committer | Vladimir Chtchetkine <vchtchetkine@google.com> | 2010-12-20 08:28:03 -0800 |
commit | e95660aadc669784406d5f5a867988b8ecc2ed0d (patch) | |
tree | 480b3feaa14f6d392ceed62dba9cd0334dcba48d /android/sync-utils.c | |
parent | aec5741a217d98db6007219c4e28dc24d3ecdb03 (diff) | |
download | external_qemu-e95660aadc669784406d5f5a867988b8ecc2ed0d.zip external_qemu-e95660aadc669784406d5f5a867988b8ecc2ed0d.tar.gz external_qemu-e95660aadc669784406d5f5a867988b8ecc2ed0d.tar.bz2 |
Resubmit framebuffer service implementation
Change-Id: I184e27a1e8d88835bc9f0502eccfa3f64a7aaf9e
Diffstat (limited to 'android/sync-utils.c')
-rw-r--r-- | android/sync-utils.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/android/sync-utils.c b/android/sync-utils.c index 8d55823..c5674b2 100644 --- a/android/sync-utils.c +++ b/android/sync-utils.c @@ -271,3 +271,9 @@ syncsocket_read_line(SyncSocket* ssocket, char* buffer, size_t size, int timeout return syncsocket_read_line_absolute(ssocket, buffer, size, iolooper_now() + timeout); } + +int +syncsocket_get_socket(SyncSocket* ssocket) +{ + return (ssocket != NULL) ? ssocket->fd : -1; +} |