/* * Licensed Materials - Property of IBM and/or HCL * * IBM Informix Dynamic Server * (c) Copyright IBM Corporation 1996, 2004 All rights reserved. * (c) Copyright HCL Technologies Ltd. 2017. All Rights Reserved. * *************************************************************************** * * Title: int8.h * Description: * Header file for int8 data type. * *************************************************************************** */ #ifndef _INT8_H #define _INT8_H #include "ifxtypes.h" #define INT8SIZE 2 /* number of unsigned int4's in struct ifx_int8 */ #define INT8UNKNOWN -2 /* Value returned by int8 comparison function if one * of the operands is NULL. */ #define INT8NULL 0 /* A int8 null will be represented internally by setting * sign equal to INT8NULL */ typedef struct ifx_int8 { uint4 data[INT8SIZE]; int2 sign; /* 0 = NULL, 1 = positive, -1 = negative */ } ifx_int8_t; #endif /* _INT8_H */