]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/pppd.h
pppd: Handle SIGINT and SIGTERM during interrupted syscalls (#148)
[ppp.git] / pppd / pppd.h
index 4ab2ac1309902b05b21fe71a5113f3d16a066800..f44fe016c82847b6f402a635329aa082eba5d897 100644 (file)
@@ -223,6 +223,7 @@ struct notifier {
  * Global variables.
  */
 
  * 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 */
 extern int     hungup;         /* Physical layer has disconnected */
 extern int     ifunit;         /* Interface unit number */
 extern char    ifname[];       /* Interface name */