00001 #ifndef QRK_SERIAL_UTILS_H 00002 #define QRK_SERIAL_UTILS_H 00003 00015 #include "serial_t.h" 00016 00017 00024 extern int serial_isLF(const char ch); 00025 00026 00036 extern void serial_skip(serial_t *serial, int total_timeout, 00037 int each_timeout); 00038 00039 00052 extern int serial_getLine(serial_t *serial, 00053 char *data, int data_size_max, int timeout); 00054 00055 #endif /* !QRK_SERIAL_UTILS_H */
1.7.6.1-20120122