X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fpppd.h;h=f44fe016c82847b6f402a635329aa082eba5d897;hb=0678d3bf69116af58b00fbc64bd4185acb4d5c37;hp=b31b78da7e727a005edf3544487721a70d465620;hpb=03104baaa85c5537b704558848199c306b345190;p=ppp.git diff --git a/pppd/pppd.h b/pppd/pppd.h index b31b78d..f44fe01 100644 --- a/pppd/pppd.h +++ b/pppd/pppd.h @@ -223,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 */ @@ -713,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 */