works
[smouse] / src / serial.h
index f920461..d21b60d 100644 (file)
@@ -8,6 +8,9 @@
 int ser_open(const char *port, int baud, unsigned int mode);
 void ser_close(int fd);
 
+int ser_block(int fd);
+int ser_nonblock(int fd);
+
 int ser_pending(int fd);
 /* if msec < 0: wait for ever */
 int ser_wait(int fd, long msec);
@@ -17,6 +20,5 @@ int ser_read(int fd, char *buf, int count);
 
 void ser_printf(int fd, const char *fmt, ...);
 char *ser_getline(int fd, char *buf, int bsz);
-char *ser_getline_block(int fd, char *buf, int bsz);
 
 #endif /* SERIAL_H_ */