/*
 * this file is part of WetScape, a Web browser for the W window system.
 * Copyrigt (C) 1996 Kay Roemer.
 *
 * misc utility routines.
 *
 * $Id: util.h,v 1.1.1.1 1996/04/05 16:42:34 yak Exp $
 */
#ifndef _UTIL_H
#define _UTIL_H

#undef MIN
#undef MAX
#define MIN(x,y) ((x)<(y)?(x):(y))
#define MAX(x,y) ((x)>(y)?(x):(y))

extern char *xstrlwr (char *);
extern char *xstrndup (char *, int len);
extern char *xstrfind (char *, char *);
extern char *xstrrfind (char *, char *);
extern char *xstrerror (int err);

#endif
