X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=libaltos%2Flibaltos.h;h=6d43159be529b6fea0d838d23262dd9cc5584b3b;hb=debian;hp=f90fbb879d3934a2cf1ba7251aa50dd3553cf878;hpb=f7a56152808c7838c1886884bb77de2705ab076c;p=fw%2Faltos diff --git a/libaltos/libaltos.h b/libaltos/libaltos.h index f90fbb87..f7fc9082 100644 --- a/libaltos/libaltos.h +++ b/libaltos/libaltos.h @@ -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);