Added prototypes for async write functions

git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@2 53a565d1-3bb7-0310-b661-cf11e63c67ab
This commit is contained in:
abombe 1999-12-15 22:31:20 +00:00
parent 0f5ef10baa
commit 48ef2e9475
1 changed files with 6 additions and 1 deletions

View File

@ -115,14 +115,19 @@ struct raw1394_reqhandle {
int raw1394_start_read(struct raw1394_handle *handle, nodeid_t node, int raw1394_start_read(struct raw1394_handle *handle, nodeid_t node,
nodeaddr_t addr, size_t length, quadlet_t *buffer, nodeaddr_t addr, size_t length, quadlet_t *buffer,
unsigned long tag); unsigned long tag);
int raw1394_start_write(struct raw1394_handle *handle, nodeid_t node,
nodeaddr_t addr, size_t length, quadlet_t *data,
unsigned long tag);
/* /*
* This does the complete transaction and will return when it's finished. It * This does the complete transaction and will return when it's finished. It
* will call raw1394_loop_iterate() as often as necessary, return values of * will call raw1394_loop_iterate() as often as necessary, return values of
* handlers called will be lost. * handlers called will be therefore lost.
*/ */
int raw1394_read(struct raw1394_handle *handle, nodeid_t node, nodeaddr_t addr, int raw1394_read(struct raw1394_handle *handle, nodeid_t node, nodeaddr_t addr,
size_t length, quadlet_t *buffer); size_t length, quadlet_t *buffer);
int raw1394_write(struct raw1394_handle *handle, nodeid_t node, nodeaddr_t addr,
size_t length, quadlet_t *data);
#ifdef __cplusplus #ifdef __cplusplus