19#define RTEMS_PPPD_LINKUP_HOOK 1
20#define RTEMS_PPPD_LINKDOWN_HOOK 2
21#define RTEMS_PPPD_IPUP_HOOK 3
22#define RTEMS_PPPD_IPDOWN_HOOK 4
23#define RTEMS_PPPD_ERROR_HOOK 5
24#define RTEMS_PPPD_EXIT_HOOK 6
27typedef void (*rtems_pppd_hookfunction)(void);
28typedef int (*rtems_pppd_dialerfunction)(
int tty,
int mode,
char *pScript);
32int rtems_pppd_initialize(
void);
33int rtems_pppd_terminate(
void);
34int rtems_pppd_reset_options(
void);
35int rtems_pppd_set_hook(
int id, rtems_pppd_hookfunction hookfp);
36int rtems_pppd_set_dialer(rtems_pppd_dialerfunction dialerfp);
37int rtems_pppd_set_option(
const char *pOption,
const char *pValue);
38int rtems_pppd_connect(
void);
39int rtems_pppd_disconnect(
void);
41struct rtems_bsdnet_ifconfig;
43int rtems_ppp_driver_attach(
struct rtems_bsdnet_ifconfig *
config,
int attaching);
Definition: deflate.c:115