Roy Marples
601fb3d500
Add (c) to Copyright
2009-05-01 13:57:45 +00:00
Roy Marples
fd05b7dcfc
Add an event loop.
...
Split client.c into smaller files and functions and
recode around the event loop.
Add multiple interface support using the new event loop.
Document changes and outstanding bugs.
2008-09-02 13:28:11 +00:00
Roy Marples
f4e3746739
Prefer signal to poll so we avoid any possibilty of a timeval -> int/msecs overflow. We could of course loop msecs / INT_MAX times, but it then gets messy. It also saves around 200 bytes of binary size :)
2008-07-31 09:30:42 +00:00
Roy Marples
318fbafe9e
Normalise tv_usecs. Also, send the fd ready back to the main loop so we don't have to re-poll each fd. Saves bytes and is more efficient.
2008-07-24 15:09:33 +00:00
Roy Marples
7c45fb9338
We should test a specific fd instead of index 0 in a structure.
2008-06-07 00:14:16 +00:00
Roy Marples
caecf62c79
Replace the signal clear with a pipe so child can notify parent when to exit.
2008-05-27 19:06:48 +00:00
Roy Marples
e0496aa9eb
Fix a signal race when daemonising.
2008-05-26 19:19:11 +00:00
Roy Marples
9c308ff18f
Move signal.{c,h} to signals.{c.h} so we can work better in the NetBSD source tree.
2008-05-15 12:48:01 +00:00
Roy Marples
4a3eaf8724
Move signals.c,h to signal.c,h
2007-11-08 13:16:00 +00:00
Roy Marples
1f8f3dbdc1
Reword the headers to just say we use the GPLv2.
2007-11-07 16:26:41 +00:00
Roy Marples
8132f92876
Remove the reference to udhcp.
2007-11-07 15:53:15 +00:00
Roy Marples
de8a9d9887
Clear the signal_pipe fd from the fdset when all signals have
...
been read.
2007-11-07 10:15:14 +00:00
Roy Marples
d3e2c11ab4
Make the consts sane
2006-12-14 23:47:56 +00:00
Roy Marples
cced195e70
Add dhcpcd-3 re-write
2006-11-27 20:23:22 +00:00