* definitions into ecpg programs
*/
+#ifndef _ECPGLIB_H
+#define _ECPGLIB_H
+
#include <stdio.h>
#ifndef __BEOS__
}
#endif
+
+#endif /* _ECPGLIB_H */
* This is a typically recursive definition. A structure of typed list elements
* would probably work fine:
*/
+
+#ifndef _ECPGTYPE_H
+#define _ECPGTYPE_H
+
#ifdef __cplusplus
extern "C"
{
#ifdef __cplusplus
}
-
#endif
+
+#endif /* _ECPGTYPE_H */
+#ifndef _ECPG_LIB_EXTERN_H
+#define _ECPG_LIB_EXTERN_H
+
#include "postgres_fe.h"
#include "libpq-fe.h"
bool ECPGstore_result(const PGresult *results, int act_field,
const struct statement * stmt, struct variable * var);
+
+#endif /* _ECPG_LIB_EXTERN_H */
+#ifndef _ECPG_PREPROC_EXTERN_H
+#define _ECPG_PREPROC_EXTERN_H
+
#include "type.h"
#include <errno.h>
#define OUT_OF_MEMORY 5
#define INDICATOR_NOT_STRUCT 6
#define INDICATOR_NOT_SIMPLE 7
+
+#endif /* _ECPG_PREPROC_EXTERN_H */
+#ifndef _ECPG_PREPROC_TYPE_H
+#define _ECPG_PREPROC_TYPE_H
+
#include "ecpgtype.h"
struct ECPGtype;
char *name;
int value;
} ScanKeyword;
+
+#endif /* _ECPG_PREPROC_TYPE_H */