xl.h
779 Bytes
/*
* Copyright 2002 by Paul Mattes.
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose and without fee is hereby granted,
* provided that the above copyright notice appear in all copies and that
* both that copyright notice and this permission notice appear in
* supporting documentation.
*
* x3270, c3270, s3270 and tcl3270 are distributed in the hope that they will
* be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the file LICENSE
* for more details.
*/
/*
* xl.h
* DBCS translation table structure.
*/
typedef struct {
unsigned n;
unsigned short *data;
} xl_t;
#define XL_SIZE(e) ((sizeof(e)/sizeof(e[0]))/3)