X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fpppd.h;h=f44fe016c82847b6f402a635329aa082eba5d897;hb=0678d3bf69116af58b00fbc64bd4185acb4d5c37;hp=170eed97441a77c69090c680fb8fbd582ca87f58;hpb=388597eee99beac6e5b7430d24c377169f51bd57;p=ppp.git diff --git a/pppd/pppd.h b/pppd/pppd.h index 170eed9..f44fe01 100644 --- a/pppd/pppd.h +++ b/pppd/pppd.h @@ -50,6 +50,8 @@ #define __PPPD_H__ #include /* for FILE */ +#include /* for encrypt */ +#include /* for setkey */ #include /* for NGROUPS_MAX */ #include /* for MAXPATHLEN and BSD4_4, if defined */ #include /* for u_int32_t, if defined */ @@ -221,6 +223,7 @@ struct notifier { * Global variables. */ +extern int got_sigterm; /* SIGINT or SIGTERM was received */ extern int hungup; /* Physical layer has disconnected */ extern int ifunit; /* Interface unit number */ extern char ifname[]; /* Interface name */ @@ -711,6 +714,8 @@ int cipxfaddr __P((int)); #endif int get_if_hwaddr __P((u_char *addr, char *name)); char *get_first_ethernet __P((void)); +int get_time __P((struct timeval *)); + /* Get current time, monotonic if possible. */ /* Procedures exported from options.c */ int setipaddr __P((char *, char **, int)); /* Set local/remote ip addresses */