From 4ba858f7db2793d8056b13f3ed3ac1c2739b6b9a Mon Sep 17 00:00:00 2001 From: Stephane Bortzmeyer Date: Wed, 4 Apr 2007 19:40:54 +0000 Subject: [PATCH] Doc for headers in plugins --- SRC/PLUGINS | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SRC/PLUGINS b/SRC/PLUGINS index 4287702..1fd675c 100644 --- a/SRC/PLUGINS +++ b/SRC/PLUGINS @@ -12,7 +12,8 @@ hostname=foo.bar". Plugins using these libraries will have to use the raw interface. The host name given as argument is ignored. [Do note there is *no* interface where the TCP connection and shutdown -are done by echoping. They are always performed by the plugin.] +are done by echoping. (See bug #1694510) They are always performed by +the plugin.] You indicate to echoping wether you use the raw interface or the cooked one by returning a port name or NULL from the init() function. @@ -48,7 +49,7 @@ void terminate () Start your plugin source code with: #define IN_PLUGIN -#include "/wherever/echoping/is/installed/echoping.h" +#include You can look at random.c, the simplest plugin, and whois.c, the simplest which still does something useful.