Add missing assert.
[bertos.git] / app / triface / protocol.h
index 03751e6b7e2b793f57f86357bdad3283f8774d12..26113482fca067c3d0738c3894a38702fb4f6453 100644 (file)
@@ -26,7 +26,9 @@
  * invalidate any other reasons why the executable file might be covered by
  * the GNU General Public License.
  *
- * Copyright 2006 Develer S.r.l. (http://www.develer.com/)
+ * Copyright 2003, 2004, 2006 Develer S.r.l. (http://www.develer.com/)
+ * Copyright 2000 Bernie Innocenti <bernie@codewiz.org>
+ *
  * -->
  *
  * \brief Implementation of the command protocol between the board and the host
  * \author Marco Benelli <marco@develer.com>
  */
 
-/*#*
- *#* $Log$
- *#* Revision 1.1  2006/06/01 12:29:21  marco
- *#* Add first simple protocol command (version request).
- *#*
- *#*/
 
 #ifndef PROTOCOL_H
 #define PROTOCOL_H
 
-// fwd decl
-struct Serial;
+#include <kern/kfile.h>
 
-void protocol_init(struct Serial *ser);
-void protocol_run(struct Serial *ser);
+void protocol_init(KFile *fd);
+void protocol_run(KFile *fd);
 
 #endif // PROTOOCOL_H