diff options
| author | 2005-07-04 03:00:50 +0000 | |
|---|---|---|
| committer | 2005-07-04 03:00:50 +0000 | |
| commit | 19065515152718407db849b0be71a8eeee80deaa (patch) | |
| tree | 53aaf9dba643e8967d02a5b5509f2b4a1d4ca416 /src/raw1394.h | |
| parent | Add a comment that libraw does not allocate channels and bandwidth. This (diff) | |
add sanity check to queuing of packets in rawiso xmit
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@159 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to '')
| -rw-r--r-- | src/raw1394.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/raw1394.h b/src/raw1394.h index bd482da..833915f 100644 --- a/src/raw1394.h +++ b/src/raw1394.h @@ -1207,7 +1207,9 @@ typedef int (*iso_handler_t)(raw1394handle_t, int channel, size_t length, **/ iso_handler_t raw1394_set_iso_handler(raw1394handle_t handle, unsigned int channel, - iso_handler_t new_h); + iso_handler_t new_h) +__attribute__ ((deprecated)); + /** * raw1394_start_iso_rcv - enable isochronous receiving (DEPRECATED) * @handle: libraw1394 handle @@ -1219,7 +1221,8 @@ iso_handler_t raw1394_set_iso_handler(raw1394handle_t handle, * Isochronous packets are then passed to the callback specified with * raw1394_set_iso_handler(). **/ -int raw1394_start_iso_rcv(raw1394handle_t handle, unsigned int channel); +int raw1394_start_iso_rcv(raw1394handle_t handle, unsigned int channel) +__attribute__ ((deprecated)); /** * raw1394_stop_iso_rcv - stop isochronous receiving (DEPRECATED) @@ -1230,7 +1233,8 @@ int raw1394_start_iso_rcv(raw1394handle_t handle, unsigned int channel); * * Stops the reception of isochronous packets in @channel on @handle. **/ -int raw1394_stop_iso_rcv(raw1394handle_t handle, unsigned int channel); +int raw1394_stop_iso_rcv(raw1394handle_t handle, unsigned int channel) +__attribute__ ((deprecated)); /** * raw1394_start_iso_write - initiate an isochronous packet write (DEPRECATED) @@ -1259,7 +1263,8 @@ int raw1394_stop_iso_rcv(raw1394handle_t handle, unsigned int channel); int raw1394_start_iso_write(raw1394handle_t handle, unsigned int channel, unsigned int tag, unsigned int sy, unsigned int speed, size_t length, quadlet_t *data, - unsigned long rawtag); + unsigned long rawtag) +__attribute__ ((deprecated)); /** * raw1394_iso_write - DEPRECATED @@ -1269,7 +1274,8 @@ int raw1394_start_iso_write(raw1394handle_t handle, unsigned int channel, **/ int raw1394_iso_write(raw1394handle_t handle, unsigned int channel, unsigned int tag, unsigned int sy, unsigned int speed, - size_t length, quadlet_t *data); + size_t length, quadlet_t *data) +__attribute__ ((deprecated)); #ifdef __cplusplus } |
