* configure.ac: On MinGW, define USE_WIN32API and link with
[deliverable/binutils-gdb.git] / gdb / serial.h
index d83b2011448abfd7ce4d7b80957fb26f22f75285..89b66b452cf38052815c62a7dd5621fcefd05272 100644 (file)
@@ -232,6 +232,12 @@ struct serial_ops
        the specified function when ever there is something
        interesting.  */
     void (*async) (struct serial *scb, int async_p);
+    /* Perform a low-level read operation, reading (at most) COUNT
+       bytes into SCB->BUF.  */
+    int (*read_prim)(struct serial *scb, size_t count);
+    /* Perform a low-level write operation, writing (at most) COUNT
+       bytes from BUF.  */
+    int (*write_prim)(struct serial *scb, const void *buf, size_t count);
   };
 
 /* Add a new serial interface to the interface list */
This page took 0.025818 seconds and 4 git commands to generate.