diff options
| author | Roy Marples <roy@marples.name> | 2006-11-27 20:23:22 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2006-11-27 20:23:22 +0000 |
| commit | cced195e703c548e7375727ea91bbdcd76aae517 (patch) | |
| tree | 6c97679eedd1d687263f7d65742b02bedd93895f /signals.h | |
| download | dhcpcd-cced195e703c548e7375727ea91bbdcd76aae517.tar.xz | |
Add dhcpcd-3 re-write
Diffstat (limited to 'signals.h')
| -rw-r--r-- | signals.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/signals.h b/signals.h new file mode 100644 index 00000000..62795d85 --- /dev/null +++ b/signals.h @@ -0,0 +1,27 @@ +/* + * Shameless taken from udhcp as I think it's a good idea. + * Russ Dill <Russ.Dill@asu.edu> December 2003 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#ifndef SIGNALS_H +#define SIGNALS_H + +void signal_setup (void); +int signal_fd_set (fd_set *rfds, int extra_fd); +int signal_read (fd_set *rfds); + +#endif |
