/[lwip]/lwip/src/include/lwip/sio.h
ViewVC logotype

Diff of /lwip/src/include/lwip/sio.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by jani, Mon Mar 24 10:54:03 2003 UTC revision 1.1.2.1 by likewise, Wed Jun 4 10:30:00 2003 UTC
# Line 30  Line 30 
30  /*  /*
31   * This is the interface to the platform specific serial IO module   * This is the interface to the platform specific serial IO module
32   * It needs to be implemented by those platforms which need SLIP or PPP   * It needs to be implemented by those platforms which need SLIP or PPP
  * This is still preliminary and will surely be extended for PPP  
33   */   */
34    
35  #include "arch/cc.h"  #include "arch/cc.h"
36    
37  void * sio_open(u8_t);  #ifndef __sio_fd_t_defined
38  void sio_send(u8_t, void*);  typedef void * sio_fd_t;
39  u8_t sio_recv(void *);  #endif
40    
41    #ifndef sio_open
42    sio_fd_t sio_open(u8_t);
43    #endif
44    
45    #ifndef sio_send
46    void sio_send(u8_t, sio_fd_t);
47    #endif
48    
49    #ifndef sio_recv
50    u8_t sio_recv(sio_fd_t);
51    #endif
52    
53    #ifndef sio_read
54    u32_t sio_read(sio_fd_t, u8_t *, u32_t);
55    #endif
56    
57    #ifndef sio_write
58    u32_t sio_write(sio_fd_t, u8_t *, u32_t);
59    #endif
60    
61    #ifndef sio_read_abort
62    void sio_read_abort(sio_fd_t);
63    #endif

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26