first cut at turnon scripts for EasyTimer v2
[fw/altos] / libaltos / libaltos.h
index f90fbb879d3934a2cf1ba7251aa50dd3553cf878..f7fc90826ac9b0288f3a21abe8ccb8e60507284c 100644 (file)
@@ -3,7 +3,8 @@
  *
  * 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
@@ -41,6 +42,7 @@ struct altos_device {
        int                             serial;
        char                            name[256];
        char                            path[256];
+       int                             (*method_1)(int x, int y);
        //%mutable;
 };
 
@@ -73,6 +75,9 @@ altos_get_last_error(struct altos_error *error);
 PUBLIC struct altos_list *
 altos_list_start(void);
 
+PUBLIC struct altos_list *
+altos_ftdi_list_start(void);
+
 /* Returns 1 for success, zero on end of list */
 PUBLIC int
 altos_list_next(struct altos_list *list, struct altos_device *device);