1#if !defined(PREPARSE_DEFINED)
2#define PREPARSE_DEFINED
3
4#include "checklvl.h"
5
6/***********************************************************************/
7/* Struct of variables used by the date format pre-parser. */
8/***********************************************************************/
9typedef struct _datpar {
10 const char *Format; // Points to format to decode
11 const char *Curp; // Points to current parsing position
12 char *InFmt; // Start of input format
13 char *OutFmt; // Start of output format
14 int Index[8]; // Indexes of date values
15 int Num; // Number of values to retrieve
16 int Flag; // 1: Input, 2: Output, 4: no output blank
17 int Outsize; // Size of output buffers
18 } DATPAR, *PDTP;
19
20/***********************************************************************/
21/* Preparsers used by SQL language. */
22/***********************************************************************/
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27int fmdflex(PDTP pp);
28
29#ifdef __cplusplus
30}
31#endif
32
33#endif // PREPARSE_DEFINED
34
35