X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Fxmodem.h;h=f42c10f989351cf4d71ec11f71c770aed3c5a040;hb=523e193fdf11016eb6e1b334a7f706f1ba19a86a;hp=0cad683211edc817017e19c377329dbeb807517b;hpb=ed046ec2e30d22f13729f02739a5aa80806d72ec;p=bertos.git diff --git a/mware/xmodem.h b/mware/xmodem.h index 0cad6832..f42c10f9 100755 --- a/mware/xmodem.h +++ b/mware/xmodem.h @@ -13,6 +13,12 @@ /* * $Log$ + * Revision 1.2 2004/08/15 05:31:46 bernie + * Add an #error to spread some FUD about the quality of this module; + * Add a few TODOs from Rasky's review; + * Update to the new drv/ser.c API; + * Move FlushSerial() to drv/ser.c and generalize. + * * Revision 1.1 2004/08/11 19:54:22 bernie * Import XModem protocol into DevLib. * @@ -22,9 +28,10 @@ /* fwd decl */ struct _KFile; +struct Serial; -bool xmodem_recv(struct _KFile *fd); -bool xmodem_send(struct _KFile *fd); +bool xmodem_recv(struct Serial *port, struct _KFile *fd); +bool xmodem_send(struct Serial *port, struct _KFile *fd); #endif /* MWARE_XMODEM_H */