diff options
| author | 2000-04-15 00:33:26 +0000 | |
|---|---|---|
| committer | 2000-04-15 00:33:26 +0000 | |
| commit | 9812e4136b6c88978cc47605da9d660a355ea009 (patch) | |
| tree | b755c4419a6188b150a605ec5a46200ab35a2c6b /src/raw1394.h | |
| parent | Add userdata functions as news. (diff) | |
Fixed lock transaction to actually return response value.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@24 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to 'src/raw1394.h')
| -rw-r--r-- | src/raw1394.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/raw1394.h b/src/raw1394.h index 1c17172..2e38a4b 100644 --- a/src/raw1394.h +++ b/src/raw1394.h @@ -143,7 +143,7 @@ int raw1394_start_write(raw1394handle_t handle, nodeid_t node, nodeaddr_t addr, size_t length, quadlet_t *data, unsigned long tag); int raw1394_start_lock(struct raw1394_handle *handle, nodeid_t node, nodeaddr_t addr, unsigned int extcode, quadlet_t data, - quadlet_t arg, unsigned long tag); + quadlet_t arg, quadlet_t *result, unsigned long tag); /* * This does the complete transaction and will return when it's finished. It @@ -155,7 +155,8 @@ int raw1394_read(raw1394handle_t handle, nodeid_t node, nodeaddr_t addr, int raw1394_write(raw1394handle_t handle, nodeid_t node, nodeaddr_t addr, size_t length, quadlet_t *data); int raw1394_lock(struct raw1394_handle *handle, nodeid_t node, nodeaddr_t addr, - unsigned int extcode, quadlet_t data, quadlet_t arg); + unsigned int extcode, quadlet_t data, quadlet_t arg, + quadlet_t *result); /* * Start and stop receiving a certain isochronous channel. You have to set an |
