Commit de979281 authored by Howard Chu's avatar Howard Chu
Browse files

Remove abandon cruft

parent ab713881
......@@ -21,15 +21,13 @@ extern BI_op_compare bdb_compare;
extern BI_op_delete bdb_delete;
extern BI_op_abandon bdb_abandon;
extern BI_op_modify bdb_modify;
extern BI_op_modrdn bdb_modrdn;
extern BI_op_search bdb_search;
extern BI_op_unbind bdb_unbind;
extern BI_op_extended bdb_extended;
extern BI_chk_referrals bdb_referrals;
......
......@@ -436,13 +436,12 @@ bdb_initialize(
bi->bi_op_modrdn = bdb_modrdn;
bi->bi_op_search = bdb_search;
#if 0
bi->bi_op_unbind = bdb_unbind;
bi->bi_op_abandon = bdb_abandon;
bi->bi_op_unbind = 0;
bi->bi_op_abandon = 0;
bi->bi_extended = bdb_extended;
bi->bi_acl_group = bdb_group;
#endif
bi->bi_acl_attribute = bdb_attribute;
bi->bi_chk_referrals = bdb_referrals;
......
/* abandon.c - ldbm backend abandon routine */
/* $OpenLDAP$ */
/*
* Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
#include "portable.h"
/*ARGSUSED*/
void
ldbm_back_abandon()
{
}
......@@ -39,8 +39,6 @@ extern BI_op_add ldbm_back_add;
extern BI_op_delete ldbm_back_delete;
extern BI_op_abandon ldbm_back_abandon;
extern BI_acl_group ldbm_back_group;
extern BI_acl_attribute ldbm_back_attribute;
......
......@@ -61,7 +61,7 @@ ldbm_back_initialize(
bi->bi_op_modrdn = ldbm_back_modrdn;
bi->bi_op_add = ldbm_back_add;
bi->bi_op_delete = ldbm_back_delete;
bi->bi_op_abandon = ldbm_back_abandon;
bi->bi_op_abandon = 0;
bi->bi_extended = ldbm_back_extended;
......
/* abandon.c - monitor backend abandon routine */
/*
* Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
/*
* Copyright 2001 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*
* Copyright 2001, Pierangelo Masarati, All rights reserved. <ando@sys-net.it>
*
* This work has beed deveolped for the OpenLDAP Foundation
* in the hope that it may be useful to the Open Source community,
* but WITHOUT ANY WARRANTY.
*
* Permission is granted to anyone to use this software for any purpose
* on any computer system, and to alter it and redistribute it, subject
* to the following restrictions:
*
* 1. The author and SysNet s.n.c. are not responsible for the consequences
* of use of this software, no matter how awful, even if they arise from
* flaws in it.
*
* 2. The origin of this software must not be misrepresented, either by
* explicit claim or by omission. Since few users ever read sources,
* credits should appear in the documentation.
*
* 3. Altered versions must be plainly marked as such, and must not be
* misrepresented as being the original software. Since few users
* ever read sources, credits should appear in the documentation.
* SysNet s.n.c. cannot be responsible for the consequences of the
* alterations.
*
* 4. This notice may not be removed or altered.
*/
#include "portable.h"
#include <slap.h>
#include "back-monitor.h"
int
monitor_back_abandon(
BackendDB *be,
struct slap_conn *c,
struct slap_op *o,
ber_int_t msgid
)
{
return( 0 );
}
......@@ -48,7 +48,6 @@ extern BI_db_destroy monitor_back_db_destroy;
extern BI_op_search monitor_back_search;
extern BI_op_compare monitor_back_compare;
extern BI_op_abandon monitor_back_abandon;
extern BI_op_modify monitor_back_modify;
extern BI_op_bind monitor_back_bind;
extern BI_operational monitor_back_operational;
......
......@@ -182,7 +182,7 @@ monitor_back_initialize(
bi->bi_op_modrdn = 0;
bi->bi_op_add = 0;
bi->bi_op_delete = 0;
bi->bi_op_abandon = monitor_back_abandon;
bi->bi_op_abandon = 0;
bi->bi_extended = 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment