projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove bogus assembler options.
[bertos.git]
/
bertos
/
net
/
xmodem.h
diff --git
a/bertos/net/xmodem.h
b/bertos/net/xmodem.h
index 580e088deed9b4ba8dbde465aa3df0b2572b0840..4b2386239768782e31d40987507689ceab3eb822 100644
(file)
--- a/
bertos/net/xmodem.h
+++ b/
bertos/net/xmodem.h
@@
-30,16
+30,20
@@
* Copyright 1999, 2001 Bernie Innocenti <bernie@codewiz.org>
*
* -->
* 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>
*
* \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"
*/
*/
-#ifndef
MWARE
_XMODEM_H
-#define
MWARE
_XMODEM_H
+#ifndef
NET
_XMODEM_H
+#define
NET
_XMODEM_H
#include <cfg/compiler.h>
#include <kern/kfile.h>
#include <cfg/compiler.h>
#include <kern/kfile.h>
@@
-64,11
+68,7
@@
#define XMODEM_PROGRESS(msg, ...) kprintf(msg, ## __VA_ARGS__)
#endif
#define XMODEM_PROGRESS(msg, ...) kprintf(msg, ## __VA_ARGS__)
#endif
+bool xmodem_recv(KFile *ch, KFile *fd);
+bool xmodem_send(KFile *ch, KFile *fd);
-/* fwd decl */
-struct KFileSerial;
-
-bool xmodem_recv(struct KFileSerial *port, KFile *fd);
-bool xmodem_send(struct KFileSerial *port, KFile *fd);
-
-#endif /* MWARE_XMODEM_H */
+#endif /* NET_XMODEM_H */