Diff for /servers/slapd/slapi/proto-slapi.h between versions 1.8 and 1.8.2.6

version 1.8, 2003/05/25 00:03:07 version 1.8.2.6, 2004/01/01 18:16:41
Line 1 Line 1
 /*  /* $OpenLDAP: pkg/ldap/servers/slapd/slapi/proto-slapi.h,v 1.8.2.5 2003/12/29 18:10:41 kurt Exp $ */
  * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   *
    * Copyright 2002-2004 The OpenLDAP Foundation.
    * Portions Copyright 1997,2002-2003 IBM Corporation.
    * All rights reserved.
    *
    * Redistribution and use in source and binary forms, with or without
    * modification, are permitted only as authorized by the OpenLDAP
    * Public License.
    *
    * A copy of this license is available in the file LICENSE in the
    * top-level directory of the distribution or, alternatively, at
    * <http://www.OpenLDAP.org/license.html>.
  */   */
 /*  /* ACKNOWLEDGEMENTS:
  *  Copyright IBM Corp. 1997,2002   * This work was initially developed by IBM Corporation for use in
  *  Use of this source code is subject to the terms of The OpenLDAP Public    * IBM products and subsequently ported to OpenLDAP Software by
  *  License (version 2.7 or later).   * Steve Omrani.  Additional significant contributors include:
  *  No trademarks of the IBM Corporation are to be used to identify, endorse    *   Luke Howard
  *  or promote  any products derived from this code without the prior   
  *  written consent of IBM   
  */   */
   
 #ifndef _PROTO_SLAPI_H  #ifndef _PROTO_SLAPI_H
Line 156  extern char * slapi_esc_dn_normalize( ch Line 165  extern char * slapi_esc_dn_normalize( ch
 extern char * slapi_esc_dn_normalize_case( char *dn );  extern char * slapi_esc_dn_normalize_case( char *dn );
 extern int slapi_dn_isroot( Slapi_PBlock *pb, char *dn );  extern int slapi_dn_isroot( Slapi_PBlock *pb, char *dn );
 extern int slapi_dn_issuffix( char *dn, char *suffix );  extern int slapi_dn_issuffix( char *dn, char *suffix );
   char *slapi_dn_beparent( Slapi_PBlock *pb, const char *dn );
   char *slapi_dn_parent( const char *dn );
   int slapi_dn_isparent( const char *parentdn, const char *childdn );
 extern char *slapi_dn_ignore_case( char *dn );  extern char *slapi_dn_ignore_case( char *dn );
 extern char *slapi_get_hostname();  extern char *slapi_get_hostname();
 extern void slapi_register_supported_saslmechanism( char *mechanism );  extern void slapi_register_supported_saslmechanism( char *mechanism );
Line 165  extern int slapi_send_ldap_extended_resp Line 177  extern int slapi_send_ldap_extended_resp
                         int errornum, char *respName, struct berval *response);                          int errornum, char *respName, struct berval *response);
 extern int slapi_send_ldap_search_entry( Slapi_PBlock *pb, Slapi_Entry *e,   extern int slapi_send_ldap_search_entry( Slapi_PBlock *pb, Slapi_Entry *e, 
                         LDAPControl **ectrls, char **attrs, int attrsonly );                           LDAPControl **ectrls, char **attrs, int attrsonly ); 
   extern int slapi_send_ldap_search_reference( Slapi_PBlock *pb, Slapi_Entry *e,
           struct berval **references, LDAPControl **ectrls, struct berval **v2refs );
   
 extern void slapi_register_supported_control(char *controloid,   extern void slapi_register_supported_control(char *controloid, 
                                         unsigned long controlops);                                          unsigned long controlops);
 extern int slapi_get_supported_controls(char ***ctrloidsp, unsigned long **ctrlopsp);  extern int slapi_get_supported_controls(char ***ctrloidsp, unsigned long **ctrlopsp);
Line 207  extern int slapi_audit_init_header( Conn Line 222  extern int slapi_audit_init_header( Conn
 extern int slapi_audit_send_record( Slapi_PBlock *pb, Connection *conn,   extern int slapi_audit_send_record( Slapi_PBlock *pb, Connection *conn, 
                                                 Operation *op, int rc);                                                  Operation *op, int rc);
   
 extern int slapi_x_pblock_set_operation( Slapi_PBlock *pb, Operation *op );  extern int slapi_int_pblock_set_operation( Slapi_PBlock *pb, Operation *op );
   
 extern LDAPMod **slapi_x_modifications2ldapmods(Modifications **);  extern LDAPMod **slapi_int_modifications2ldapmods(Modifications **);
 extern Modifications *slapi_x_ldapmods2modifications(LDAPMod **);  extern Modifications *slapi_int_ldapmods2modifications(LDAPMod **);
 extern void slapi_x_free_ldapmods(LDAPMod **);  extern void slapi_int_free_ldapmods(LDAPMod **);
   
 extern int slapi_compute_add_evaluator(slapi_compute_callback_t function);  extern int slapi_compute_add_evaluator(slapi_compute_callback_t function);
 extern int slapi_compute_add_search_rewriter(slapi_search_rewrite_callback_t function);  extern int slapi_compute_add_search_rewriter(slapi_search_rewrite_callback_t function);
 extern int compute_rewrite_search_filter(Slapi_PBlock *pb);  extern int compute_rewrite_search_filter(Slapi_PBlock *pb);
 extern int compute_evaluator(computed_attr_context *c, char *type, Slapi_Entry *e, slapi_compute_output_t outputfn);  extern int compute_evaluator(computed_attr_context *c, char *type, Slapi_Entry *e, slapi_compute_output_t outputfn);
 extern int slapi_x_compute_output_ber(computed_attr_context *c, Slapi_Attr *a, Slapi_Entry *e);  extern int slapi_int_compute_output_ber(computed_attr_context *c, Slapi_Attr *a, Slapi_Entry *e);
 extern int slapi_x_compute_get_pblock(computed_attr_context *c, Slapi_PBlock **pb);  extern int slapi_x_compute_get_pblock(computed_attr_context *c, Slapi_PBlock **pb);
   
   extern int slapi_int_access_allowed(Operation *op, Entry *entry, AttributeDescription *desc, struct berval *val, slap_access_t access, AccessControlState *state);
   
 extern ldap_pvt_thread_mutex_t  slapi_hn_mutex;  extern ldap_pvt_thread_mutex_t  slapi_hn_mutex;
 extern ldap_pvt_thread_mutex_t  slapi_time_mutex;  extern ldap_pvt_thread_mutex_t  slapi_time_mutex;
 extern ldap_pvt_thread_mutex_t  slapi_printmessage_mutex;   extern ldap_pvt_thread_mutex_t  slapi_printmessage_mutex; 
Line 242  extern void slapi_pblock_clear( Slapi_PB Line 259  extern void slapi_pblock_clear( Slapi_PB
 /*  /*
  * OpenLDAP extensions   * OpenLDAP extensions
  */   */
 extern int slapi_x_pblock_get_first( Backend *be, Slapi_PBlock **pb );  extern int slapi_int_pblock_get_first( Backend *be, Slapi_PBlock **pb );
 extern int slapi_x_pblock_get_next( Slapi_PBlock **pb );  extern int slapi_int_pblock_get_next( Slapi_PBlock **pb );
   
   
 /*  /*
  * Was: plugin.h   * Was: plugin.h
  */   */
   
 extern Slapi_PBlock *newPlugin ( int type, const char *path, const char *initfunc,  extern int slapi_int_register_plugin(Backend *be, Slapi_PBlock *pPB);
                 int argc, char *argv[] );  extern int slapi_int_call_plugins(Backend *be, int funcType, Slapi_PBlock * pPB);
 extern int insertPlugin(Backend *be, Slapi_PBlock *pPB);  extern int slapi_int_get_plugins(Backend *be, int functype, SLAPI_FUNC **ppFuncPtrs);
 extern int doPluginFNs(Backend *be, int funcType, Slapi_PBlock * pPB);  extern int slapi_int_register_extop(Backend *pBE, ExtendedOp **opList, Slapi_PBlock *pPB);
 extern int getAllPluginFuncs(Backend *be, int functype, SLAPI_FUNC **ppFuncPtrs);  extern int slapi_int_get_extop_plugin(struct berval  *reqoid, SLAPI_FUNC *pFuncAddr );
 extern int newExtendedOp(Backend *pBE, ExtendedOp **opList, Slapi_PBlock *pPB);  extern int slapi_int_read_config(Backend *be, const char *fname, int lineno,
 extern int getPluginFunc(struct berval  *reqoid, SLAPI_FUNC *pFuncAddr );  
 extern int netscape_plugin(Backend *be, const char *fname, int lineno,  
                 int argc, char **argv );                  int argc, char **argv );
 extern int slapi_init(void);  extern int slapi_int_initialize(void);
   
   
 /*  /*
Line 268  extern int slapi_init(void); Line 283  extern int slapi_init(void);
   
 extern Slapi_PBlock *slapi_search_internal( char *base, int scope, char *filter,   extern Slapi_PBlock *slapi_search_internal( char *base, int scope, char *filter, 
                 LDAPControl **controls, char **attrs, int attrsonly );                  LDAPControl **controls, char **attrs, int attrsonly );
 extern Slapi_PBlock *slapi_search_internal_bind( char *bindDN, char *base,  
                 int scope, char *filter, LDAPControl **controls,  
                 char **attrs, int attrsonly ); /* d58508 */  
 extern Slapi_PBlock *slapi_modify_internal( char *dn, LDAPMod **mods,  extern Slapi_PBlock *slapi_modify_internal( char *dn, LDAPMod **mods,
         LDAPControl **controls, int log_change );          LDAPControl **controls, int log_change );
 extern Slapi_PBlock *slapi_add_entry_internal( Slapi_Entry * e,  extern Slapi_PBlock *slapi_add_entry_internal( Slapi_Entry * e,
Line 283  extern Slapi_PBlock *slapi_delete_intern Line 295  extern Slapi_PBlock *slapi_delete_intern
                 int log_change );                  int log_change );
 extern Slapi_PBlock *slapi_modrdn_internal( char * olddn, char * newrdn,  extern Slapi_PBlock *slapi_modrdn_internal( char * olddn, char * newrdn,
                 int deloldrdn, LDAPControl **controls, int log_change);                  int deloldrdn, LDAPControl **controls, int log_change);
 #if 0  
 extern Slapi_PBlock *slapi_modrdn_internal( char * olddn, char * newrdn,  
                 char *newParent, int deloldrdn, LDAPControl **controls,  
                 int log_change);  
 #endif  
 extern char **slapi_get_supported_extended_ops(void);  extern char **slapi_get_supported_extended_ops(void);
 extern int duplicateBVMod( LDAPMod *pMod, LDAPMod **ppNewMod );  extern struct berval *slapi_int_get_supported_extop( int );
   
   
 /*  /*
  * Was: slapi_cl.h   * Was: slapi_cl.h
Line 311  extern int slapi_modifyrdn_changelog(cha Line 317  extern int slapi_modifyrdn_changelog(cha
                 char *suffix, char *chNum, Operation* op);                  char *suffix, char *chNum, Operation* op);
 extern Backend * slapi_cl_get_be(char *dn);  extern Backend * slapi_cl_get_be(char *dn);
   
   int slapi_int_init_object_extensions(void);
   int slapi_int_free_object_extensions(int objecttype, void *object);
   int slapi_int_create_object_extensions(int objecttype, void *object);
   int slapi_int_clear_object_extensions(int objecttype, void *object);
   
 LDAP_END_DECL  LDAP_END_DECL
   
 #endif /* _PROTO_SLAPI_H */  #endif /* _PROTO_SLAPI_H */

Removed from v.1.8  
changed lines
  Added in v.1.8.2.6


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org