/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1996-2012 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 *
* *
* Phong Vo <kpv@research.att.com> *
* Glenn Fowler <gsf@research.att.com> *
* *
***********************************************************************/
#pragma prototyped
/*
* keyed data support for recsort
*/
#include "rskeyhdr.h"
/*
* initialize the global readonly tables
*/
static void
#if __STD_C
initialize(void)
#else
#endif
{
register int i;
for (i = 0; i <= UCHAR_MAX; i++)
{
state.ident[i] = i;
if (blank(i))
if (isalnum(i))
{
}
else if (isprint(i))
}
}
/*
* open a recsort key discipline handle
*/
#if __STD_C
#else
#endif
{
initialize();
disc = 0;
return 0;
if (mbcoll())
{
{
kp = 0;
}
}
return kp;
}
/*
* close an rskeyopen() handle
*/
int
#if __STD_C
#else
#endif
{
if (!kp)
return -1;
{
}
{
}
return 0;
}