/*
- * Copyright (c) 1995, Index Data.
+ * Copyright (c) 1995,1996 Index Data.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation, in whole or in part, for any purpose, is hereby granted,
#ifndef D1_MAP_H
#define D1_MAP_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct data1_maptag
{
int new_field;
int type;
- enum
- {
- D1_MAPTAG_numeric,
- D1_MAPTAG_string
- } which;
+#define D1_MAPTAG_numeric 1
+#define D1_MAPTAG_string 2
+ int which;
union
{
int numeric;
struct data1_maptab *next;
} data1_maptab;
+#ifdef __cplusplus
+}
+#endif
+
#endif