*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
skytraq_setcomm(int fd, int baudrate);
int
-skytraq_write(int fd, const char *data, int len);
+skytraq_write(int fd, const void *data, int len);
int
skytraq_waitchar(int fd, int timeout);
void
skytraq_flush(int fd);
+int
+skytraq_millis(void);
+
+void
+skytraq_dbg_newline(void);
+
int
skytraq_cmd_wait(int fd, const char *message, int len, const char *status, int timeout);