]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/slapi/slapi.h
use slapi_pblock_delete_param()
[openldap] / servers / slapd / slapi / slapi.h
index 7c56f2e9dce9fefe96617a2118787b7e2abdf57d..fb0ed0f84cff217dd7425250c36f1e7d44e02da9 100644 (file)
@@ -74,7 +74,6 @@ typedef struct _ExtendedOp {
 struct _computed_attr_context {
        Slapi_PBlock    *cac_pb;
        Operation       *cac_op;
-       AccessControlState *cac_acl_state;
        void            *cac_private;
 };
 
@@ -113,6 +112,12 @@ struct slapi_pblock {
        int                     numParams;
        int                     curParams[PBLOCK_MAX_PARAMS];
        void                    *curVals[PBLOCK_MAX_PARAMS];
+       /* native types */
+       Connection              *pconn;
+       Operation               *pop;
+       SlapReply               rs;
+       int                     internal_op;
+       char                    textbuf[ SLAP_TEXT_BUFLEN ];
 };
 
 #endif /* !NO_PBLOCK_CLASS */
@@ -121,15 +126,7 @@ struct slapi_pblock {
  * Was: plugin.h
  */
 
-#define SLAPI_PLUGIN_IS_POST_FN(x) ((x) >= SLAPI_PLUGIN_POST_BIND_FN && (x) <= SLAPI_PLUGIN_POST_RESULT_FN)
-
-/* really private stuff */
-#define SLAPI_X_CONFIG_ARGV                    1400
-#define SLAPI_X_INTOP_FLAGS                    1401
-#define SLAPI_X_INTOP_RESULT_CALLBACK          1402
-#define SLAPI_X_INTOP_SEARCH_ENTRY_CALLBACK    1403
-#define SLAPI_X_INTOP_REFERRAL_ENTRY_CALLBACK  1404
-#define SLAPI_X_INTOP_CALLBACK_DATA            1405
+#define SLAPI_PLUGIN_IS_POST_FN(x) ((x) >= SLAPI_PLUGIN_POST_BIND_FN && (x) <= SLAPI_PLUGIN_BE_POST_DELETE_FN)
 
 #define SLAPI_OPERATION_PARAMETERS             138
 
@@ -171,6 +168,15 @@ struct slapi_pblock {
 
 #define SLAPI_DBSIZE                           199
 
+/* really private stuff */
+#define SLAPI_X_CONFIG_ARGV                    1400
+#define SLAPI_X_INTOP_FLAGS                    1401
+#define SLAPI_X_INTOP_RESULT_CALLBACK          1402
+#define SLAPI_X_INTOP_SEARCH_ENTRY_CALLBACK    1403
+#define SLAPI_X_INTOP_REFERRAL_ENTRY_CALLBACK  1404
+#define SLAPI_X_INTOP_CALLBACK_DATA            1405
+#define SLAPI_X_OLD_RESCONTROLS                        1406
+
 #define SLAPI_IBM_PBLOCK                       -3
 
 LDAP_SLAPI_V (ldap_pvt_thread_mutex_t) slapi_hn_mutex;