diff options
author | Martin Szulecki | 2013-02-27 15:09:04 +0100 |
---|---|---|
committer | Martin Szulecki | 2013-02-27 15:09:04 +0100 |
commit | 12754fa1c93d810f408b2de291b44e39eaee7ee5 (patch) | |
tree | 8335afd95f9f672656027e9d04a2b4b91e1ce34e /cython/imobiledevice.pxd | |
parent | 86cc3f0d16643a04e40c14de3f8b7aab2222b3fc (diff) | |
download | libimobiledevice-12754fa1c93d810f408b2de291b44e39eaee7ee5.tar.gz libimobiledevice-12754fa1c93d810f408b2de291b44e39eaee7ee5.tar.bz2 |
cython: Add support for receive_with_timeout() method on PropertyListService
Diffstat (limited to 'cython/imobiledevice.pxd')
-rw-r--r-- | cython/imobiledevice.pxd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cython/imobiledevice.pxd b/cython/imobiledevice.pxd index cd17061..a614124 100644 --- a/cython/imobiledevice.pxd +++ b/cython/imobiledevice.pxd @@ -51,8 +51,10 @@ cdef class BaseService(Base): cdef class PropertyListService(BaseService): cpdef send(self, plist.Node node) cpdef object receive(self) + cpdef object receive_with_timeout(self, int timeout_ms) cdef int16_t _send(self, plist.plist_t node) cdef int16_t _receive(self, plist.plist_t* c_node) + cdef int16_t _receive_with_timeout(self, plist.plist_t* c_node, int timeout_ms) cdef extern from "libimobiledevice/lockdown.h": cdef struct lockdownd_client_private: |