/*====================================================================*
 *
 *   bool haveclass(SCAN * content, const char *charset);
 *
 *   scan.h 
 *
 *
 *.  Motley Tools by Charles Maier <cmaier@cmassoc.net>;
 *:  Published 2001-2006 by Charles Maier Associates Limited;
 *;  Released under the GNU General Public Licence v2 and later;
 *
 *--------------------------------------------------------------------*/

#ifndef HAVECLASS_SOURCE
#define HAVECLASS_SOURCE

#include "../scan/scan.h"

bool haveclass (SCAN * content, const char *charset) 

{
	if (isclass (content, charset)) 
	{
		nexttoken (content);
		return (true);
	}
	return (false);
}

#endif