home *** CD-ROM | disk | FTP | other *** search
/ Geek 6 / Geek-006.iso / linux / video / xmovie-1.5.3.tar.gz / xmovie-1.5.3.tar / xmovie-1.5.3 / quicktime / libraw1394.2217 / raw1394_private.h < prev    next >
C/C++ Source or Header  |  2000-11-29  |  707b  |  34 lines

  1.  
  2. #ifndef _RAW1394_PRIVATE_H
  3. #define _RAW1394_PRIVATE_H
  4.  
  5. struct raw1394_handle {
  6.         int fd;
  7.         unsigned int generation;
  8.  
  9.         nodeid_t local_id;
  10.         int num_of_nodes;
  11.  
  12.         bus_reset_handler_t bus_reset_handler;
  13.         tag_handler_t tag_handler;
  14.         fcp_handler_t fcp_handler;
  15.         iso_handler_t iso_handler[64];
  16.  
  17.         struct raw1394_request req;
  18.         quadlet_t buffer[2048];
  19.  
  20.         void *userdata;
  21. };
  22.  
  23. struct sync_cb_data {
  24.         int done;
  25.         int errcode;
  26. };
  27.  
  28. int _raw1394_sync_cb(struct raw1394_handle*, struct sync_cb_data*, int);
  29.  
  30. #define HBUF_SIZE 8192
  31. #define CLEAR_REQ(reqp) memset((reqp), 0, sizeof(struct raw1394_request))
  32.  
  33. #endif /* _RAW1394_PRIVATE_H */
  34.