* 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 */