diff options
| author | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2007-11-21 18:10:13 -0500 |
|---|---|---|
| committer | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2007-11-21 18:10:13 -0500 |
| commit | af4e31549b09a6cfb9774649c69c8ab769bee4ae (patch) | |
| tree | 7336fdfc3c3d2291d41fd61e8e3849436d68cb53 /src | |
| parent | 731e01a3df74e6cef3981ae1e99f6352027715c1 (diff) | |
| download | slapi-nis-af4e31549b09a6cfb9774649c69c8ab769bee4ae.tar.gz slapi-nis-af4e31549b09a6cfb9774649c69c8ab769bee4ae.tar.xz slapi-nis-af4e31549b09a6cfb9774649c69c8ab769bee4ae.zip | |
properly compile stream.c's routine
Diffstat (limited to 'src')
| -rw-r--r-- | src/plugin.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/plugin.h b/src/plugin.h new file mode 100644 index 0000000..102f2ad --- /dev/null +++ b/src/plugin.h @@ -0,0 +1,25 @@ +#ifndef plugin_h +#define plugin_h + +#include <sys/types.h> +#include <pthread.h> + +#include <nspr.h> +#include <secport.h> +#include <plarenas.h> +#include <dirsrv/slapi-plugin.h> + +struct plugin_state { + PLArenaPool *arena; + pthread_t tid; + Slapi_ComponentId *plugin_identity; + Slapi_PluginDesc *plugin_desc; + int resvport; + int n_listeners; + int listenfd[4]; + int listenport[4]; + int sock_pf[4]; + int sock_type[4]; +}; + +#endif |
