projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modify the module selection page
[bertos.git]
/
bertos
/
net
/
xmodem.h
diff --git
a/bertos/net/xmodem.h
b/bertos/net/xmodem.h
index ce14b6eca78e47d5f282f55d4df2cc494d11a86e..897a7bc08d9fb656875316fb7bcfb4cd5c756a84 100644
(file)
--- a/
bertos/net/xmodem.h
+++ b/
bertos/net/xmodem.h
@@
-27,19
+27,19
@@
* the GNU General Public License.
*
* Copyright 2004 Develer S.r.l. (http://www.develer.com/)
* the GNU General Public License.
*
* Copyright 2004 Develer S.r.l. (http://www.develer.com/)
- * Copyright 1999, 2001 Bern
ardo Innocenti <bernie@develer.com
>
+ * Copyright 1999, 2001 Bern
ie Innocenti <bernie@codewiz.org
>
*
* -->
* \brief X-Modem serial transmission protocol (interface)
*
* \version $Id$
*
* -->
* \brief X-Modem serial transmission protocol (interface)
*
* \version $Id$
- * \author Bern
ardo Innocenti <bernie@develer.com
>
+ * \author Bern
ie Innocenti <bernie@codewiz.org
>
* \author Francesco Sacchi <batt@develer.com>
*/
* \author Francesco Sacchi <batt@develer.com>
*/
-#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
+64,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 */