New module: kfile_debug. Now you can redirect output to the debug console.
[bertos.git] / bertos / net / xmodem.h
index e8a66f0c0f082c667be5ad6c57a9f21abd23ed97..4b2386239768782e31d40987507689ceab3eb822 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", "crc16"
+ * $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 */