diff options
| author | 2002-10-23 21:18:49 +0000 | |
|---|---|---|
| committer | 2002-10-23 21:18:49 +0000 | |
| commit | 915a20a96f6fb81249f140a114b94f2b1502149d (patch) | |
| tree | 78511c7186615b5d3473bd72f9b513ba5d9e00e1 /src/raw1394_private.h | |
| parent | configure.ac: (diff) | |
merged weihs branch
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@84 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to 'src/raw1394_private.h')
| -rw-r--r-- | src/raw1394_private.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/raw1394_private.h b/src/raw1394_private.h index 7b414c8..733feae 100644 --- a/src/raw1394_private.h +++ b/src/raw1394_private.h @@ -2,6 +2,9 @@ #ifndef _RAW1394_PRIVATE_H #define _RAW1394_PRIVATE_H +#define HBUF_SIZE 8192 +#define ARM_REC_LENGTH 4096 + struct raw1394_handle { int fd; int protocol_version; @@ -15,12 +18,13 @@ struct raw1394_handle { void *userdata; bus_reset_handler_t bus_reset_handler; - tag_handler_t tag_handler; - fcp_handler_t fcp_handler; - iso_handler_t iso_handler[64]; + tag_handler_t tag_handler; + arm_tag_handler_t arm_tag_handler; + fcp_handler_t fcp_handler; + iso_handler_t iso_handler[64]; struct raw1394_request req; - quadlet_t buffer[2048]; + quadlet_t buffer[HBUF_SIZE/4]; /* 2048 */ }; struct sync_cb_data { @@ -30,7 +34,6 @@ struct sync_cb_data { int _raw1394_sync_cb(struct raw1394_handle*, struct sync_cb_data*, int); -#define HBUF_SIZE 8192 #define CLEAR_REQ(reqp) memset((reqp), 0, sizeof(struct raw1394_request)) #if SIZEOF_VOID_P == 4 |
