File: TableConvert.h

package info (click to toggle)
swisswatch 0.6-12
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 180 kB
  • ctags: 307
  • sloc: ansic: 1,511; makefile: 52; sh: 14
file content (27 lines) | stat: -rw-r--r-- 839 bytes parent folder | download | duplicates (11)
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_ */