Diff for /servers/slapd/slapi/proto-slapi.h between versions 1.36 and 1.37

version 1.36, 2005/07/23 11:21:28 version 1.37, 2005/07/25 02:19:33
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/slapi/proto-slapi.h,v 1.35 2005/07/23 10:03:13 lukeh Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/slapi/proto-slapi.h,v 1.36 2005/07/23 11:21:28 lukeh Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 2002-2005 The OpenLDAP Foundation.   * Copyright 2002-2005 The OpenLDAP Foundation.
Line 26 Line 26
 LDAP_BEGIN_DECL  LDAP_BEGIN_DECL
   
 /* slapi_utils.c */  /* slapi_utils.c */
 LDAP_SLAPI_F (int) slapi_int_pblock_set_operation LDAP_P(( Slapi_PBlock *pb, Operation *op ));  LDAP_SLAPI_F (LDAPMod **) slapi_int_modifications2ldapmods LDAP_P(( Modifications **, void *ctx ));
   LDAP_SLAPI_F (Modifications *) slapi_int_ldapmods2modifications LDAP_P(( LDAPMod **, void *ctx ));
 LDAP_SLAPI_F (LDAPMod **) slapi_int_modifications2ldapmods LDAP_P((Modifications **));  LDAP_SLAPI_F (void) slapi_int_free_ldapmods LDAP_P(( LDAPMod ** ));
 LDAP_SLAPI_F (Modifications *) slapi_int_ldapmods2modifications LDAP_P((LDAPMod **));  LDAP_SLAPI_F (int) slapi_int_count_controls LDAP_P(( LDAPControl **ctrls ));
 LDAP_SLAPI_F (void) slapi_int_free_ldapmods LDAP_P((LDAPMod **));  
   
 LDAP_SLAPI_F (int) slapi_int_access_allowed LDAP_P((Operation *op,  LDAP_SLAPI_F (int) slapi_int_access_allowed LDAP_P((Operation *op,
         Entry *entry,          Entry *entry,
Line 42  LDAP_SLAPI_F (int) slapi_int_access_allo Line 41  LDAP_SLAPI_F (int) slapi_int_access_allo
 LDAP_SLAPI_F (char **) slapi_get_supported_extended_ops LDAP_P((void));  LDAP_SLAPI_F (char **) slapi_get_supported_extended_ops LDAP_P((void));
   
 /* slapi_ops.c */  /* slapi_ops.c */
 LDAP_SLAPI_F (int) slapi_int_connection_init LDAP_P((Slapi_PBlock *pb, int OpType, Connection **pConn));  
 LDAP_SLAPI_F (void) slapi_int_connection_destroy LDAP_P(( Connection **pConn ));  
 LDAP_SLAPI_F (int) slapi_int_response LDAP_P(( Slapi_Operation *op, SlapReply *rs ));  LDAP_SLAPI_F (int) slapi_int_response LDAP_P(( Slapi_Operation *op, SlapReply *rs ));
   LDAP_SLAPI_F (void) slapi_int_connection_init_pb LDAP_P(( Slapi_PBlock *pb, ber_tag_t OpType ));
   LDAP_SLAPI_F (void) slapi_int_connection_done_pb LDAP_P(( Slapi_PBlock *pb ));
   
 /* slapi_pblock.c */  /* slapi_pblock.c */
 LDAP_SLAPI_F (void) slapi_pblock_check_params LDAP_P(( Slapi_PBlock *pb, int flag ));  
 LDAP_SLAPI_F (int) slapi_pblock_delete_param LDAP_P(( Slapi_PBlock *p, int param ));  LDAP_SLAPI_F (int) slapi_pblock_delete_param LDAP_P(( Slapi_PBlock *p, int param ));
 LDAP_SLAPI_F (void) slapi_pblock_clear LDAP_P(( Slapi_PBlock *pb ));  LDAP_SLAPI_F (void) slapi_pblock_clear LDAP_P(( Slapi_PBlock *pb ));
   LDAP_SLAPI_F (void) slapi_int_mods_free( Modifications *ml );
   
 LDAP_SLAPI_F (int) slapi_int_pblock_get_first LDAP_P(( Backend *be, Slapi_PBlock **pb ));  LDAP_SLAPI_F (int) slapi_int_pblock_get_first LDAP_P(( Backend *be, Slapi_PBlock **pb ));
 LDAP_SLAPI_F (int) slapi_int_pblock_get_next LDAP_P(( Slapi_PBlock **pb ));  LDAP_SLAPI_F (int) slapi_int_pblock_get_next LDAP_P(( Slapi_PBlock **pb ));
   
   #define PBLOCK_ASSERT_OP( _pb, _tag ) do { \
                   assert( (_pb) != NULL ); \
                   assert( (_pb)->pop != NULL ); \
                   assert( (_pb)->pconn != NULL ); \
                   if ( _tag != 0 ) \
                           assert( (_pb)->pop->o_tag == (_tag)); \
           } while (0)
           
   #define PBLOCK_ASSERT_INTOP( _pb, _tag ) do { \
                   PBLOCK_ASSERT_OP( _pb, _tag ); \
                   assert( (_pb)->internal_op ); \
                   assert( pb->pop == (Operation *)pb->pconn->c_pending_ops.stqh_first ); \
           } while (0)
           
 /* plugin.c */  /* plugin.c */
 LDAP_SLAPI_F (int) slapi_int_register_plugin LDAP_P((Backend *be, Slapi_PBlock *pPB));  LDAP_SLAPI_F (int) slapi_int_register_plugin LDAP_P((Backend *be, Slapi_PBlock *pPB));
 LDAP_SLAPI_F (int) slapi_int_call_plugins LDAP_P((Backend *be, int funcType, Slapi_PBlock * pPB));  LDAP_SLAPI_F (int) slapi_int_call_plugins LDAP_P((Backend *be, int funcType, Slapi_PBlock * pPB));

Removed from v.1.36  
changed lines
  Added in v.1.37


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