Diff for /servers/slapd/overlays/seqmod.c between versions 1.4 and 1.4.2.4

version 1.4, 2004/11/27 06:04:52 version 1.4.2.4, 2006/01/03 22:16:25
Line 1 Line 1
 /* seqmod.c - sequenced modifies */  /* seqmod.c - sequenced modifies */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 2004 The OpenLDAP Foundation.   * Copyright 2004-2006 The OpenLDAP Foundation.
  * All rights reserved.   * All rights reserved.
  *   *
  * Redistribution and use in source and binary forms, with or without   * Redistribution and use in source and binary forms, with or without
Line 61  seqmod_op_cleanup( Operation *op, SlapRe Line 61  seqmod_op_cleanup( Operation *op, SlapRe
         /* This op is done, remove it */          /* This op is done, remove it */
         ldap_pvt_thread_mutex_lock( &sm->sm_mutex );          ldap_pvt_thread_mutex_lock( &sm->sm_mutex );
         av = avl_find2( sm->sm_mods, &mtdummy, sm_avl_cmp );          av = avl_find2( sm->sm_mods, &mtdummy, sm_avl_cmp );
         assert(av);          assert(av != NULL);
   
         mt = av->avl_data;          mt = av->avl_data;
   
Line 178  seqmod_db_close( Line 178  seqmod_db_close(
 static slap_overinst            seqmod;  static slap_overinst            seqmod;
   
 int  int
 seqmod_init()  seqmod_initialize()
 {  {
         seqmod.on_bi.bi_type = "seqmod";          seqmod.on_bi.bi_type = "seqmod";
         seqmod.on_bi.bi_db_open = seqmod_db_open;          seqmod.on_bi.bi_db_open = seqmod_db_open;
Line 195  seqmod_init() Line 195  seqmod_init()
 int  int
 init_module( int argc, char *argv[] )  init_module( int argc, char *argv[] )
 {  {
         return seqmod_init();          return seqmod_initialize();
 }  }
 #endif /* SLAPD_OVER_SEQMOD == SLAPD_MOD_DYNAMIC */  #endif /* SLAPD_OVER_SEQMOD == SLAPD_MOD_DYNAMIC */
   

Removed from v.1.4  
changed lines
  Added in v.1.4.2.4


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