/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1985-2011 AT&T Intellectual Property *
* and is licensed under the *
* Common Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
* *
* 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 discipline.
** dt : dictionary
** disc : discipline
**
** Written by Kiem-Phong Vo (5/26/96)
*/
#if __STD_C
#else
#endif
{
if(addr)
{ if(size == 0)
}
}
}
#if __STD_C
#else
int type;
#endif
{
reg char* k;
return disc;
}
if(!disc) /* only want to know current discipline */
return old;
goto done;
{ if(type&DT_SAMEHASH)
goto done;
else goto dt_renew;
}
goto done;
else goto dt_renew;
}
else /*if(dt->data->type&(DT_OSET|DT_OBAG))*/
{ if(type&DT_SAMECMP)
goto done;
while(s < ends)
}
/* reinsert them */
while(r)
{ t = r->right;
}
r = t;
}
}
done:
return old;
}