mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-16 21:26:43 +08:00
PPP, moved ppp_init() from public API (ppp.h) to private API (ppp_impl.h)
ppp_init() is called by lwip_init(), users don't need to init PPP by themselves
This commit is contained in:
@@ -464,11 +464,6 @@ struct ppp_pcb_s {
|
||||
*** PUBLIC FUNCTIONS ***
|
||||
************************/
|
||||
|
||||
/*
|
||||
* Initialize the PPP subsystem.
|
||||
*/
|
||||
int ppp_init(void);
|
||||
|
||||
/*
|
||||
* Create a new PPP session.
|
||||
*
|
||||
|
||||
@@ -365,6 +365,9 @@ struct pppd_stats {
|
||||
|
||||
/* PPP flow functions
|
||||
*/
|
||||
/* initialize the PPP subsystem */
|
||||
int ppp_init(void);
|
||||
|
||||
/* function called by pppoe.c */
|
||||
void ppp_input(ppp_pcb *pcb, struct pbuf *pb);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user