/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1985-2011 AT&T Intellectual Property *
* and is licensed under the *
* Eclipse Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum b35adb5213ca9657e911e9befb180842) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* Glenn Fowler <gsf@research.att.com> *
* David Korn <dgk@research.att.com> *
* Phong Vo <kpv@research.att.com> *
* *
***********************************************************************/
#include "dthdr.h"
/* Change search method.
**
** Written by Kiem-Phong Vo (05/25/96)
*/
#if __STD_C
#else
#endif
{
return oldmt;
/* ask discipline if switching to new method is ok */
return NIL(Dtmethod_t*);
/* try to create internal structure for new method */
/* see what need to be done to data of the old method */
if(newdt) /* switch was successful, remove old data */
return oldmt;
}
else /* switch failed, restore dictionary to previous states */
return NIL(Dtmethod_t*);
}
}
/* customize certain actions in a container data structure */
{
int done = 0;
{ if(action <= 0 )
}
if((type&DT_ANNOUNCE) &&
{ if(action <= 0 )
done |= DT_ANNOUNCE;
}
if((type&DT_OPTIMIZE) &&
done |= DT_OPTIMIZE;
return done;
}