1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
/*****************************************************************************
* File Name: TableConvert.h
* Description: Generic XtRString to Enum Conversion Using Tables
* Author: Simon Leinen (simon@liasun6)
* Date Created: 5-Jul-91
* RCS $Header$
* RCS $Log$
****************************************************************************/
#ifndef _TableConvert_h_
#define _TableConvert_h_
#include <X11/Xmu/Xmu.h>
struct lookup_table_entry_ {
char *name;
int value;
} ;
typedef struct lookup_table_entry_ LOOKUP_TABLE_ENTRY;
#if NeedFunctionPrototypes
extern void set_table_converter(String,LOOKUP_TABLE_ENTRY *,Cardinal);
#else /* not NeedFunctionPrototypes */
extern void set_table_converter(/*String,LOOKUP_TABLE_ENTRY *,Cardinal*/);
#endif /* not NeedFunctionPrototypes */
#endif /* not _TableConvert_h_ */
|