Nick Mathewson
|
554e14934e
|
Move per-fd info from eventops into evmap. Not done for win32.c yet.
svn:r1008
|
2009-01-14 20:52:32 +00:00 |
|
Nick Mathewson
|
ad7f1b4ae9
|
The element size for our linear evmaps is a pointer, not the whole struct.
svn:r1006
|
2009-01-14 18:45:42 +00:00 |
|
Nick Mathewson
|
6bb2f84216
|
Add initializer functions for evmap types.
svn:r1005
|
2009-01-14 18:38:03 +00:00 |
|
Nick Mathewson
|
9935d5b01e
|
Fix win32 compilation. Surprisingly, unit tests pass too.
svn:r1002
|
2009-01-13 21:39:32 +00:00 |
|
Nick Mathewson
|
169321c9e6
|
Rename four internal headers to follow the -internal.h convention.
svn:r1000
|
2009-01-13 20:26:37 +00:00 |
|
Nick Mathewson
|
91e3ead85e
|
Improve the hashsocket function.
svn:r989
|
2009-01-10 14:37:45 +00:00 |
|
Nick Mathewson
|
55bcd7d2f0
|
On win32, use a hashtable to map sockets to events rather than using an array.
svn:r988
|
2009-01-09 13:42:21 +00:00 |
|
Nick Mathewson
|
8f5777e692
|
Document internal evmap functions, add a couple of asserts, and fix up some things that did not need to be void* any more
svn:r987
|
2009-01-09 05:01:48 +00:00 |
|
Niels Provos
|
172b657567
|
malloc fd only if it is needed.
svn:r982
|
2009-01-02 18:18:30 +00:00 |
|
Niels Provos
|
30cba6d0b3
|
we cannot realloc memory used by TAILQ; instead malloc each slot individually
svn:r977
|
2008-12-25 09:22:13 +00:00 |
|
Niels Provos
|
b55ca7de1c
|
reduce void *age a little bit
svn:r975
|
2008-12-23 22:31:27 +00:00 |
|
Niels Provos
|
02b2b4d1be
|
Restructure the event backends so that they do not need to keep track of events themselves, as a side effect multiple events can use the same fd or signal.
svn:r972
|
2008-12-23 16:37:01 +00:00 |
|