/****************************************************************************
 *
 *                               IBM INC.
 *
 *                           PROPRIETARY DATA
 *
 * Licensed Material - Property Of IBM
 *
 * "Restricted Materails of IBM"
 *
 * IBM Informix Client SDK
 *
 * (c)  Copyright IBM Corporation 2002. All rights reserved.
 *
 *  Title:	varchar.h
 *  Sccsid:	@(#)varchar.h	9.2	1/12/92  12:12:15
 *  Description:
 *		header file for varying length character data type
 *
 ***************************************************************************
 */

/*
 * VARCHAR macros
 */

#define MAXVCLEN		(255)
#define VCLENGTH(len)		(VCMAX(len)+1)
#define VCMIN(size)		(((size) >> 8) & 0x00ff)
#define VCMAX(size)		((size) & 0x00ff)
#define VCSIZ(max, min)		((((min) << 8) & 0xff00) + ((max) & 0x00ff))
