X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fslapi%2Fplugin.h;h=f334f69fa2be64cf2dcdf1f54c9012e3255e028f;hb=6f26183f204f95821740dd188ca90efa4fda6134;hp=7aaa20ef607b01e56e5b15d9e7a928defcbe0afa;hpb=1b70e1644888c477890722e45307fea60eaa3d77;p=openldap diff --git a/servers/slapd/slapi/plugin.h b/servers/slapd/slapi/plugin.h index 7aaa20ef60..f334f69fa2 100644 --- a/servers/slapd/slapi/plugin.h +++ b/servers/slapd/slapi/plugin.h @@ -1,5 +1,5 @@ /* - * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved. + * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ /* @@ -24,5 +24,7 @@ int netscape_plugin(Backend *be, const char *fname, int lineno, int argc, char **argv ); int slapi_init(void); +#define SLAPI_PLUGIN_IS_POST_FN(x) ((x) >= SLAPI_PLUGIN_POST_BIND_FN && (x) <= SLAPI_PLUGIN_POST_RESULT_FN) + #endif /* _PLUGIN_H_ */