 Index: boa-0.94.13/src/plugin.c
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ boa-0.94.13/src/plugin.c	2008-06-29 00:39:43.000000000 +0200
++++ boa-0.94.13/src/plugin.c	2008-06-29 01:22:01.000000000 +0200
 @@ -0,0 +1,190 @@
 +/*
 + * Simple plugin API for boa

 
Index: boa-0.94.13/src/boa.h
===================================================================
--- boa-0.94.13.orig/src/boa.h	2002-07-26 05:03:44.000000000 +0200
+++ boa-0.94.13/src/boa.h	2008-06-15 23:21:11.000000000 +0200
@@ -37,6 +37,7 @@
 #include <fcntl.h>
 #include <limits.h>             /* OPEN_MAX */

+
+	p = plugin_lookup(req);
+	if (!p)
+		return 0;
+
+	return plugin_run(req, p);
+}
