]> mj.ucw.cz Git - pciutils.git/blobdiff - lib/pci.h
Rewrote the pread/pwrite things once again. Use pread and pwrite only when we
[pciutils.git] / lib / pci.h
index 168d9ad6c089976ee86e0980b795372e0f4036f2..4fca73eee34d3ce09c0a1b90e7c8c840771a4e68 100644 (file)
--- a/lib/pci.h
+++ b/lib/pci.h
@@ -1,5 +1,5 @@
 /*
- *     $Id: pci.h,v 1.4 1999/07/07 11:23:11 mj Exp $
+ *     $Id: pci.h,v 1.5 1999/07/20 12:13:40 mj Exp $
  *
  *     The PCI Library
  *
@@ -76,6 +76,7 @@ struct pci_access {
   int fd;                              /* proc: fd */
   int fd_rw;                           /* proc: fd opened read-write */
   struct pci_dev *cached_dev;          /* proc: device the fd is for */
+  int fd_pos;                          /* proc: current position */
 };
 
 /* Initialize PCI access */