ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/gvpe.C
(Generate patch)

Comparing gvpe/src/gvpe.C (file contents):
Revision 1.26 by root, Thu Jan 29 00:21:39 2015 UTC vs.
Revision 1.27 by root, Thu Oct 6 03:25:54 2022 UTC

166 166
167 exit (c); 167 exit (c);
168} 168}
169 169
170// signal handlers 170// signal handlers
171static RETSIGTYPE 171static void
172sigterm_handler (int a) 172sigterm_handler (int a)
173{ 173{
174 network.events |= vpn::EVENT_SHUTDOWN; 174 network.events |= vpn::EVENT_SHUTDOWN;
175 network.event.start (); 175 network.event.start ();
176} 176}
177 177
178static RETSIGTYPE 178static void
179sighup_handler (int a) 179sighup_handler (int a)
180{ 180{
181 network.events |= vpn::EVENT_RECONNECT; 181 network.events |= vpn::EVENT_RECONNECT;
182 network.event.start (); 182 network.event.start ();
183} 183}
184 184
185static RETSIGTYPE 185static void
186sigusr1_handler (int a) 186sigusr1_handler (int a)
187{ 187{
188 network.dump_status (); 188 network.dump_status ();
189} 189}
190 190
191static RETSIGTYPE 191static void
192sigusr2_handler (int a) 192sigusr2_handler (int a)
193{ 193{
194} 194}
195 195
196static void 196static void

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines