Merge two at91sam7 project.
[bertos.git] / bertos / net / xmodem.h
index e8a66f0c0f082c667be5ad6c57a9f21abd23ed97..8832530fc4b9b43824a8aa919ca2a37594814b3b 100644 (file)
  * Copyright 1999, 2001 Bernie Innocenti <bernie@codewiz.org>
  *
  * -->
- * \brief X-Modem serial transmission protocol (interface)
+ * \brief X-Modem serial transmission protocol.
  *
  * \version $Id$
  * \author Bernie Innocenti <bernie@codewiz.org>
  * \author Francesco Sacchi <batt@develer.com>
+ *
+ * $WIZ$ module_name = "xmodem"
+ * $WIZ$ module_depends = "kfile"
+ * $WIZ$ module_configuration = "bertos/cfg/cfg_xmodem.h"
  */
 
 
 #define XMODEM_PROGRESS(msg, ...) kprintf(msg, ## __VA_ARGS__)
 #endif
 
-
-/* fwd decl */
-struct Serial;
-
-bool xmodem_recv(struct Serial *port, KFile *fd);
-bool xmodem_send(struct Serial *port, KFile *fd);
+bool xmodem_recv(KFile *ch, KFile *fd);
+bool xmodem_send(KFile *ch, KFile *fd);
 
 #endif /* NET_XMODEM_H */