From 48ef2e94756a69fab5f30a01c905d2c7c4383a45 Mon Sep 17 00:00:00 2001 From: abombe Date: Wed, 15 Dec 1999 22:31:20 +0000 Subject: [PATCH] Added prototypes for async write functions git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@2 53a565d1-3bb7-0310-b661-cf11e63c67ab --- src/raw1394.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/raw1394.h b/src/raw1394.h index de9dcb7..d1fe443 100644 --- a/src/raw1394.h +++ b/src/raw1394.h @@ -115,14 +115,19 @@ struct raw1394_reqhandle { int raw1394_start_read(struct raw1394_handle *handle, nodeid_t node, nodeaddr_t addr, size_t length, quadlet_t *buffer, 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 * 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, 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