CodeLite: add a small delay during the debugger initialization.
[bertos.git] / bertos / net / xmodem.h
index e8a66f0c0f082c667be5ad6c57a9f21abd23ed97..db27cf41af72b949ecbf03f30337a022e5e57024 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"
  */
 
 
 #endif
 /*\}*/
 
-
-/**
- * Called to printf progress messages.
- * Default to kprintf debug, redefine to whatever you need.
- * \{
- */
-#ifndef XMODEM_PROGRESS
-#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 */