diff options
| author | 2014-12-13 13:21:52 +0800 | |
|---|---|---|
| committer | 2015-01-12 18:33:54 +0100 | |
| commit | aa14c053bc909c56d31c12799f13013f845ddb71 (patch) | |
| tree | 93a84428b2f2a52a14f6e60df3e3633a9bcca94c /cython/imobiledevice.pxd | |
| parent | 7b082b87102725a2e282ac5bfe8bf5ee1fb57437 (diff) | |
| download | libimobiledevice-aa14c053bc909c56d31c12799f13013f845ddb71.tar.gz libimobiledevice-aa14c053bc909c56d31c12799f13013f845ddb71.tar.bz2 | |
cython: Add receive/receive_timeout methods for iDeviceConnection to receive data from a connection
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 684368b..8523c94 100644 --- a/cython/imobiledevice.pxd +++ b/cython/imobiledevice.pxd | |||
| @@ -38,6 +38,8 @@ cdef class iDeviceEvent: | |||
| 38 | cdef class iDeviceConnection(Base): | 38 | cdef class iDeviceConnection(Base): |
| 39 | cdef idevice_connection_t _c_connection | 39 | cdef idevice_connection_t _c_connection |
| 40 | 40 | ||
| 41 | cpdef bytes receive_timeout(self, uint32_t max_len, unsigned int timeout) | ||
| 42 | cpdef bytes receive(self, max_len) | ||
| 41 | cpdef disconnect(self) | 43 | cpdef disconnect(self) |
| 42 | 44 | ||
| 43 | cdef class iDevice(Base): | 45 | cdef class iDevice(Base): |
