apps/pfixtools.git
16 years agoStart adding tests for the filters.
Florent Bruneau [Sun, 28 Sep 2008 20:01:20 +0000 (22:01 +0200)]
Start adding tests for the filters.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAdd filter_test and move query parser in its own file.
Florent Bruneau [Sun, 28 Sep 2008 13:14:29 +0000 (15:14 +0200)]
Add filter_test and move query parser in its own file.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoMinor fix.
Florent Bruneau [Sun, 28 Sep 2008 10:10:56 +0000 (12:10 +0200)]
Minor fix.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoJust a few helpers.
Florent Bruneau [Sun, 28 Sep 2008 09:58:58 +0000 (11:58 +0200)]
Just a few helpers.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agomprotect locked arrays.
Florent Bruneau [Sun, 28 Sep 2008 09:34:38 +0000 (11:34 +0200)]
mprotect locked arrays.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoNot so bad.
Florent Bruneau [Wed, 24 Sep 2008 19:44:31 +0000 (21:44 +0200)]
Not so bad.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAdd the new filter type in configuration example.
Florent Bruneau [Wed, 24 Sep 2008 19:42:47 +0000 (21:42 +0200)]
Add the new filter type in configuration example.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFixes.
Florent Bruneau [Wed, 24 Sep 2008 19:31:50 +0000 (21:31 +0200)]
Fixes.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoUse str.h functions for case insensitive comparisons.
Florent Bruneau [Wed, 24 Sep 2008 06:52:27 +0000 (08:52 +0200)]
Use str.h functions for case insensitive comparisons.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoImplements filtering.
Florent Bruneau [Wed, 24 Sep 2008 06:47:05 +0000 (08:47 +0200)]
Implements filtering.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoStarts a "match" filter that compares a field of the query with a given value.
Florent Bruneau [Tue, 23 Sep 2008 21:00:13 +0000 (23:00 +0200)]
Starts a "match" filter that compares a field of the query with a given value.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoSave 4bytes per entry of the trie.
Florent Bruneau [Mon, 22 Sep 2008 20:36:25 +0000 (22:36 +0200)]
Save 4bytes per entry of the trie.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoReorder conf.
Florent Bruneau [Fri, 19 Sep 2008 15:34:01 +0000 (17:34 +0200)]
Reorder conf.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAdd server port in the example.
Florent Bruneau [Fri, 19 Sep 2008 15:30:44 +0000 (17:30 +0200)]
Add server port in the example.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoRead the port from the configuration file.
Florent Bruneau [Fri, 19 Sep 2008 15:28:03 +0000 (17:28 +0200)]
Read the port from the configuration file.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoSimplify code.
Florent Bruneau [Thu, 18 Sep 2008 20:57:52 +0000 (22:57 +0200)]
Simplify code.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoConfiguration reloader for postlicyd.
Florent Bruneau [Thu, 18 Sep 2008 20:17:45 +0000 (22:17 +0200)]
Configuration reloader for postlicyd.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAdd hook to refresh config on SIGHUP.
Florent Bruneau [Thu, 18 Sep 2008 16:15:37 +0000 (18:15 +0200)]
Add hook to refresh config on SIGHUP.
Lock the pid file.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoArray contains a "lock" flag, allowing "per array" locking.
Florent Bruneau [Wed, 17 Sep 2008 21:30:54 +0000 (23:30 +0200)]
Array contains a "lock" flag, allowing "per array" locking.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoSome improvements to the trie:
Florent Bruneau [Wed, 17 Sep 2008 20:19:53 +0000 (22:19 +0200)]
Some improvements to the trie:
  - add trie_prefix to check if the trie contains a prefix for    a string.
  - add comments
  - lock the trie_t structure, not only its content.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoOops.
Florent Bruneau [Wed, 17 Sep 2008 18:21:39 +0000 (20:21 +0200)]
Oops.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFix loop detection (we're on oriented graph).
Florent Bruneau [Wed, 17 Sep 2008 17:27:49 +0000 (19:27 +0200)]
Fix loop detection (we're on oriented graph).

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoRemove debug.
Florent Bruneau [Wed, 17 Sep 2008 15:51:11 +0000 (17:51 +0200)]
Remove debug.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoDeclare Array(void*).
Florent Bruneau [Wed, 17 Sep 2008 14:43:08 +0000 (16:43 +0200)]
Declare Array(void*).

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoStore param value length. Fix off-by-one.
Florent Bruneau [Wed, 17 Sep 2008 14:38:06 +0000 (16:38 +0200)]
Store param value length. Fix off-by-one.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoCheck configuration for internal loops.
Florent Bruneau [Wed, 17 Sep 2008 10:18:04 +0000 (12:18 +0200)]
Check configuration for internal loops.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoStrlist filter.
Florent Bruneau [Tue, 16 Sep 2008 20:57:21 +0000 (22:57 +0200)]
Strlist filter.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoRename rbl to iplist since it can be whitelisting.
Florent Bruneau [Tue, 16 Sep 2008 19:00:52 +0000 (21:00 +0200)]
Rename rbl to iplist since it can be whitelisting.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoHop !
Florent Bruneau [Tue, 16 Sep 2008 18:57:45 +0000 (20:57 +0200)]
Hop !

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agotypo.
Florent Bruneau [Tue, 16 Sep 2008 17:36:22 +0000 (19:36 +0200)]
typo.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoUpdate conf.
Florent Bruneau [Tue, 16 Sep 2008 17:31:12 +0000 (19:31 +0200)]
Update conf.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoRTrim strings.
Florent Bruneau [Tue, 16 Sep 2008 17:29:51 +0000 (19:29 +0200)]
RTrim strings.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFactorize PARSE_INT...
Florent Bruneau [Tue, 16 Sep 2008 17:23:39 +0000 (19:23 +0200)]
Factorize PARSE_INT...

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAdd a "special" return value: abort.
Florent Bruneau [Tue, 16 Sep 2008 16:31:39 +0000 (18:31 +0200)]
Add a "special" return value: abort.

Abort is a *private* hook and can not be associated to a user action. When
abort is returned, the connection is closed as requested by the
"SMTPD_POLICY_README".

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoConfiguration example (and documentation).
Florent Bruneau [Tue, 16 Sep 2008 15:16:02 +0000 (17:16 +0200)]
Configuration example (and documentation).

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoCan set an entry point per protocol-state.
Florent Bruneau [Tue, 16 Sep 2008 15:15:38 +0000 (17:15 +0200)]
Can set an entry point per protocol-state.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFilter runner logs.
Florent Bruneau [Mon, 15 Sep 2008 16:30:51 +0000 (18:30 +0200)]
Filter runner logs.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoMore logs in greylister... need tests.
Florent Bruneau [Mon, 15 Sep 2008 16:23:12 +0000 (18:23 +0200)]
More logs in greylister... need tests.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoGreylist filter.
Florent Bruneau [Mon, 15 Sep 2008 16:01:50 +0000 (18:01 +0200)]
Greylist filter.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoImplements filter runner.
Florent Bruneau [Mon, 15 Sep 2008 14:46:29 +0000 (16:46 +0200)]
Implements filter runner.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agofilter_params_t -> filter_param_t
Florent Bruneau [Mon, 15 Sep 2008 13:59:42 +0000 (15:59 +0200)]
filter_params_t -> filter_param_t

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoTokenize params too.
Florent Bruneau [Mon, 15 Sep 2008 13:33:09 +0000 (15:33 +0200)]
Tokenize params too.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoTokenize hook names.
Florent Bruneau [Mon, 15 Sep 2008 12:22:10 +0000 (14:22 +0200)]
Tokenize hook names.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoGenerated token list by parsing the sources.
Florent Bruneau [Sat, 13 Sep 2008 16:48:18 +0000 (18:48 +0200)]
Generated token list by parsing the sources.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agorbl filter implementation.
Florent Bruneau [Sat, 13 Sep 2008 15:46:00 +0000 (17:46 +0200)]
rbl filter implementation.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFix order of linkage to setup modules in a correct order.
Florent Bruneau [Sat, 13 Sep 2008 14:04:59 +0000 (16:04 +0200)]
Fix order of linkage to setup modules in a correct order.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoforeach() semantic for arrays, improves configuration post-processing.
Florent Bruneau [Sat, 13 Sep 2008 07:39:53 +0000 (09:39 +0200)]
foreach() semantic for arrays, improves configuration post-processing.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFix off-by-one.
Florent Bruneau [Sat, 13 Sep 2008 07:39:06 +0000 (09:39 +0200)]
Fix off-by-one.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAdd array_lock and array_unlock.
Florent Bruneau [Fri, 12 Sep 2008 20:49:59 +0000 (22:49 +0200)]
Add array_lock and array_unlock.
Convert rbl to use array_t.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoSwitch to array_t and feed the filters from config.
Florent Bruneau [Fri, 12 Sep 2008 20:37:36 +0000 (22:37 +0200)]
Switch to array_t and feed the filters from config.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAdd the A() macro to get the array type.
Florent Bruneau [Fri, 12 Sep 2008 20:37:14 +0000 (22:37 +0200)]
Add the A() macro to get the array type.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAdd array framework that works with any type.
Florent Bruneau [Fri, 12 Sep 2008 20:04:40 +0000 (22:04 +0200)]
Add array framework that works with any type.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoCleanup.
Florent Bruneau [Fri, 12 Sep 2008 17:32:46 +0000 (19:32 +0200)]
Cleanup.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFix config parser.
Florent Bruneau [Fri, 12 Sep 2008 17:10:57 +0000 (19:10 +0200)]
Fix config parser.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoInitial version of the parser.
Florent Bruneau [Fri, 12 Sep 2008 16:24:17 +0000 (18:24 +0200)]
Initial version of the parser.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFactorize code to map a file into memory.
Florent Bruneau [Fri, 12 Sep 2008 14:12:19 +0000 (16:12 +0200)]
Factorize code to map a file into memory.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoPrepare filter and config design.
Florent Bruneau [Fri, 12 Sep 2008 13:16:05 +0000 (15:16 +0200)]
Prepare filter and config design.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoUpdate guards.
Florent Bruneau [Thu, 11 Sep 2008 16:47:14 +0000 (18:47 +0200)]
Update guards.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoHighly reduce the number of allocations required to build a trie.
Florent Bruneau [Thu, 11 Sep 2008 16:04:27 +0000 (18:04 +0200)]
Highly reduce the number of allocations required to build a trie.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoPublish trie_lock and trie_unlock.
Florent Bruneau [Thu, 11 Sep 2008 12:42:50 +0000 (14:42 +0200)]
Publish trie_lock and trie_unlock.

Don't forget to unlock before deletion.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAdd protection against lookup in not compiled trie (and vice-versa).
Florent Bruneau [Thu, 11 Sep 2008 12:36:03 +0000 (14:36 +0200)]
Add protection against lookup in not compiled trie (and vice-versa).

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAdd show_content parameter to trie_inspect().
Florent Bruneau [Thu, 11 Sep 2008 12:30:05 +0000 (14:30 +0200)]
Add show_content parameter to trie_inspect().

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFix duplicate management.
Florent Bruneau [Thu, 11 Sep 2008 12:26:49 +0000 (14:26 +0200)]
Fix duplicate management.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoEnglish.
Florent Bruneau [Thu, 11 Sep 2008 12:10:56 +0000 (14:10 +0200)]
English.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoMore informations in trie_inspect.
Florent Bruneau [Thu, 11 Sep 2008 11:58:41 +0000 (13:58 +0200)]
More informations in trie_inspect.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAdd shrink and memblock.
Florent Bruneau [Thu, 11 Sep 2008 11:19:00 +0000 (13:19 +0200)]
Add shrink and memblock.

Does not support duplicates anymore.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoSmaller memory footprint.
Florent Bruneau [Thu, 11 Sep 2008 10:58:23 +0000 (12:58 +0200)]
Smaller memory footprint.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFix m_strncpy() speed issue.
Florent Bruneau [Wed, 10 Sep 2008 22:32:37 +0000 (00:32 +0200)]
Fix m_strncpy() speed issue.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoCompacter trie, reduce the number of allocations.
Florent Bruneau [Wed, 10 Sep 2008 22:24:11 +0000 (00:24 +0200)]
Compacter trie, reduce the number of allocations.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoMore tests and fixes.
Florent Bruneau [Wed, 10 Sep 2008 21:27:52 +0000 (23:27 +0200)]
More tests and fixes.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoLookup tests.
Florent Bruneau [Wed, 10 Sep 2008 17:58:36 +0000 (19:58 +0200)]
Lookup tests.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAdd tst-trie to gitignore.
Florent Bruneau [Wed, 10 Sep 2008 17:53:21 +0000 (19:53 +0200)]
Add tst-trie to gitignore.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFixes and add small tests.
Florent Bruneau [Wed, 10 Sep 2008 17:52:35 +0000 (19:52 +0200)]
Fixes and add small tests.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoInitial implementation of a patricia-trie str->boolean.
Florent Bruneau [Wed, 10 Sep 2008 16:56:29 +0000 (18:56 +0200)]
Initial implementation of a patricia-trie str->boolean.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoMissing error report, and fix error in binary search.
Florent Bruneau [Wed, 10 Sep 2008 16:37:05 +0000 (18:37 +0200)]
Missing error report, and fix error in binary search.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoPrepare tokenizer for filter names.
Florent Bruneau [Tue, 9 Sep 2008 16:12:56 +0000 (18:12 +0200)]
Prepare tokenizer for filter names.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAllow make install-progname without running make progname.
Florent Bruneau [Tue, 9 Sep 2008 12:02:53 +0000 (14:02 +0200)]
Allow make install-progname without running make progname.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoCleanup source structure.
Florent Bruneau [Tue, 9 Sep 2008 11:52:58 +0000 (13:52 +0200)]
Cleanup source structure.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoUseless.
Florent Bruneau [Tue, 9 Sep 2008 10:35:07 +0000 (12:35 +0200)]
Useless.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoCleanup, fix memleaks.
Florent Bruneau [Tue, 9 Sep 2008 10:30:14 +0000 (12:30 +0200)]
Cleanup, fix memleaks.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoClose the listeners on exit.
Florent Bruneau [Mon, 8 Sep 2008 21:39:22 +0000 (23:39 +0200)]
Close the listeners on exit.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoSimplify.
Florent Bruneau [Mon, 8 Sep 2008 17:02:06 +0000 (19:02 +0200)]
Simplify.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoWorking policy daemon.
Florent Bruneau [Mon, 8 Sep 2008 16:44:45 +0000 (18:44 +0200)]
Working policy daemon.

Add support for the stress parameter of postfix 2.5+.
Can mlock rbl data.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAdd comments to the greylist algorithm.
Florent Bruneau [Mon, 8 Sep 2008 14:38:18 +0000 (16:38 +0200)]
Add comments to the greylist algorithm.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoMore readable.
Florent Bruneau [Mon, 8 Sep 2008 13:04:19 +0000 (15:04 +0200)]
More readable.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoFactorize code.
Florent Bruneau [Mon, 8 Sep 2008 12:44:10 +0000 (14:44 +0200)]
Factorize code.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoSwitch srsd to the server structure.
Florent Bruneau [Mon, 8 Sep 2008 11:57:23 +0000 (13:57 +0200)]
Switch srsd to the server structure.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoDon't loose typing.
Florent Bruneau [Mon, 8 Sep 2008 10:15:38 +0000 (12:15 +0200)]
Don't loose typing.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAbstract server loop.
Florent Bruneau [Mon, 8 Sep 2008 10:10:50 +0000 (12:10 +0200)]
Abstract server loop.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agobad typing
Pierre Habouzit [Mon, 3 Dec 2007 10:06:17 +0000 (11:06 +0100)]
bad typing

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoMake the greylist configuration public.
Pierre Habouzit [Sun, 2 Dec 2007 21:38:56 +0000 (22:38 +0100)]
Make the greylist configuration public.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoThreads are just such a bad idea…
Pierre Habouzit [Sun, 2 Dec 2007 21:27:28 +0000 (22:27 +0100)]
Threads are just such a bad idea…

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agomissing guard
Pierre Habouzit [Sun, 2 Dec 2007 21:26:17 +0000 (22:26 +0100)]
missing guard

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agofix buffer module.
Pierre Habouzit [Sun, 2 Dec 2007 12:31:00 +0000 (13:31 +0100)]
fix buffer module.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoRefactor epoll module.
Pierre Habouzit [Sun, 2 Dec 2007 12:01:20 +0000 (13:01 +0100)]
Refactor epoll module.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agorefactor.
Pierre Habouzit [Sun, 2 Dec 2007 11:38:28 +0000 (12:38 +0100)]
refactor.

16 years agoImplement buffer_write.
Pierre Habouzit [Sun, 2 Dec 2007 11:36:28 +0000 (12:36 +0100)]
Implement buffer_write.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoUse epoll
Pierre Habouzit [Sat, 1 Dec 2007 16:47:43 +0000 (17:47 +0100)]
Use epoll

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoUse a conveniency library.
Pierre Habouzit [Sat, 1 Dec 2007 16:37:41 +0000 (17:37 +0100)]
Use a conveniency library.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoHave a slightly better event loop.
Pierre Habouzit [Sat, 1 Dec 2007 14:52:03 +0000 (15:52 +0100)]
Have a slightly better event loop.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>