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

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

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

revision 1.6 by davidhaas, Thu Feb 6 22:18:56 2003 UTC revision 1.7 by likewise, Mon Jun 9 21:14:47 2003 UTC
# Line 99  void              netbuf_delete   (struc Line 99  void              netbuf_delete   (struc
99  void *            netbuf_alloc    (struct netbuf *buf, u16_t size);  void *            netbuf_alloc    (struct netbuf *buf, u16_t size);
100  void              netbuf_free     (struct netbuf *buf);  void              netbuf_free     (struct netbuf *buf);
101  void              netbuf_ref      (struct netbuf *buf,  void              netbuf_ref      (struct netbuf *buf,
102                                     void *dataptr, u16_t size);             void *dataptr, u16_t size);
103  void              netbuf_chain    (struct netbuf *head,  void              netbuf_chain    (struct netbuf *head,
104                                     struct netbuf *tail);             struct netbuf *tail);
105    
106  u16_t             netbuf_len      (struct netbuf *buf);  u16_t             netbuf_len      (struct netbuf *buf);
107  err_t             netbuf_data     (struct netbuf *buf,  err_t             netbuf_data     (struct netbuf *buf,
108                                     void **dataptr, u16_t *len);             void **dataptr, u16_t *len);
109  s8_t              netbuf_next     (struct netbuf *buf);  s8_t              netbuf_next     (struct netbuf *buf);
110  void              netbuf_first    (struct netbuf *buf);  void              netbuf_first    (struct netbuf *buf);
111    
112  void              netbuf_copy     (struct netbuf *buf,  void              netbuf_copy     (struct netbuf *buf,
113                                     void *dataptr, u16_t len);             void *dataptr, u16_t len);
114  void              netbuf_copy_partial(struct netbuf *buf, void *dataptr,  void              netbuf_copy_partial(struct netbuf *buf, void *dataptr,
115                                        u16_t len, u16_t offset);                u16_t len, u16_t offset);
116  struct ip_addr *  netbuf_fromaddr (struct netbuf *buf);  struct ip_addr *  netbuf_fromaddr (struct netbuf *buf);
117  u16_t             netbuf_fromport (struct netbuf *buf);  u16_t             netbuf_fromport (struct netbuf *buf);
118    
# Line 124  netconn *netconn_new_with_callback(enum Line 124  netconn *netconn_new_with_callback(enum
124  err_t             netconn_delete  (struct netconn *conn);  err_t             netconn_delete  (struct netconn *conn);
125  enum netconn_type netconn_type    (struct netconn *conn);  enum netconn_type netconn_type    (struct netconn *conn);
126  err_t             netconn_peer    (struct netconn *conn,  err_t             netconn_peer    (struct netconn *conn,
127                                     struct ip_addr *addr,             struct ip_addr *addr,
128                                     u16_t *port);             u16_t *port);
129  err_t             netconn_addr    (struct netconn *conn,  err_t             netconn_addr    (struct netconn *conn,
130                                     struct ip_addr **addr,             struct ip_addr **addr,
131                                     u16_t *port);             u16_t *port);
132  err_t             netconn_bind    (struct netconn *conn,  err_t             netconn_bind    (struct netconn *conn,
133                                     struct ip_addr *addr,             struct ip_addr *addr,
134                                     u16_t port);             u16_t port);
135  err_t             netconn_connect (struct netconn *conn,  err_t             netconn_connect (struct netconn *conn,
136                                     struct ip_addr *addr,             struct ip_addr *addr,
137                                     u16_t port);             u16_t port);
138  err_t             netconn_disconnect (struct netconn *conn);  err_t             netconn_disconnect (struct netconn *conn);
139  err_t             netconn_listen  (struct netconn *conn);  err_t             netconn_listen  (struct netconn *conn);
140  struct netconn *  netconn_accept  (struct netconn *conn);  struct netconn *  netconn_accept  (struct netconn *conn);
141  struct netbuf *   netconn_recv    (struct netconn *conn);  struct netbuf *   netconn_recv    (struct netconn *conn);
142  err_t             netconn_send    (struct netconn *conn,  err_t             netconn_send    (struct netconn *conn,
143                                     struct netbuf *buf);             struct netbuf *buf);
144  err_t             netconn_write   (struct netconn *conn,  err_t             netconn_write   (struct netconn *conn,
145                                     void *dataptr, u16_t size,             void *dataptr, u16_t size,
146                                     u8_t copy);             u8_t copy);
147  err_t             netconn_close   (struct netconn *conn);  err_t             netconn_close   (struct netconn *conn);
148    
149  err_t             netconn_err     (struct netconn *conn);  err_t             netconn_err     (struct netconn *conn);

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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