/[lwip]/lwip/src/netif/ppp/ppp.h
ViewVC logotype

Diff of /lwip/src/netif/ppp/ppp.h

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

revision 1.3 by jani, Mon Jun 2 11:12:56 2003 UTC revision 1.4 by marcbou, Thu Jun 19 11:31:25 2003 UTC
# Line 318  struct ppp_settings { Line 318  struct ppp_settings {
318          char remote_name[MAXNAMELEN + 1];      /* Peer's name for authentication */          char remote_name[MAXNAMELEN + 1];      /* Peer's name for authentication */
319  };  };
320    
321    struct ppp_addrs {
322        struct ip_addr our_ipaddr, his_ipaddr, netmask, dns1, dns2;
323    };
324    
325  /*****************************  /*****************************
326  *** PUBLIC DATA STRUCTURES ***  *** PUBLIC DATA STRUCTURES ***
# Line 346  void pppSetAuth(const char *user, const Line 349  void pppSetAuth(const char *user, const
349   * Return a new PPP connection descriptor on success or   * Return a new PPP connection descriptor on success or
350   * an error code (negative) on failure.   * an error code (negative) on failure.
351   */   */
352  int pppOpen(sio_fd_t fd, void (*linkStatusCB)(void *arg, int errCode), void *linkStatusArg);  int pppOpen(sio_fd_t fd, void (*linkStatusCB)(void *ctx, int errCode, void *arg), void *linkStatusCtx);
353    
354  /*  /*
355   * Close a PPP connection and release the descriptor.   * Close a PPP connection and release the descriptor.

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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