summaryrefslogtreecommitdiff
path: root/PLUGINS
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>1999-09-17 06:02:45 +0000
committerPaul Mackerras <paulus@samba.org>1999-09-17 06:02:45 +0000
commit699f99db04003ffb53e9b6d2b730ce75c18c66b5 (patch)
treee249d1b6880f0434a8cbbfe5c8d1b6c833e787ab /PLUGINS
parentf37d7882ebe661372dd691264128e0e679d1a3a5 (diff)
downloadppp-699f99db04003ffb53e9b6d2b730ce75c18c66b5.tar.gz
mention pppd/plugins example directory
Diffstat (limited to 'PLUGINS')
-rw-r--r--PLUGINS9
1 files changed, 7 insertions, 2 deletions
diff --git a/PLUGINS b/PLUGINS
index 490dad3..75c404c 100644
--- a/PLUGINS
+++ b/PLUGINS
@@ -11,7 +11,7 @@ A plugin is a standard shared library object, typically with a name
ending in .so. They are loaded using the standard dlopen() library
call, so plugins are only supported on systems which support shared
libraries and the dlopen call. At present pppd is compiled with
-plugin support only under Linux.
+plugin support only under Linux and Solaris.
Plugins are loaded into pppd using the `plugin' option, which takes
one argument, the name of a shared object file. The plugin option is
@@ -28,6 +28,11 @@ the following commands:
gcc -c -O xyz.c
gcc -shared -o xyz.so xyz.o
+There are some example plugins in the pppd/plugins directory in the
+ppp distribution. Currently there is one example, minconn.c, which
+implements a `minconnect' option, which specifies a minimum connect
+time before the idle timeout applies.
+
Plugins can access global variables within pppd, so it is useful for
them to #include "pppd.h" from the pppd source directory.
@@ -123,4 +128,4 @@ set *popts to a wordlist containing any extra options for this user
which pppd should apply at this point.
-## $Id: PLUGINS,v 1.1 1999/09/11 12:09:31 paulus Exp $ ##
+## $Id: PLUGINS,v 1.2 1999/09/17 06:02:45 paulus Exp $ ##