Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
b91f9042
Commit
b91f9042
authored
Oct 21, 2002
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add guards against double inclusion.
parent
20f77d79
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
1 deletion
+26
-1
src/interfaces/ecpg/include/ecpglib.h
src/interfaces/ecpg/include/ecpglib.h
+5
-0
src/interfaces/ecpg/include/ecpgtype.h
src/interfaces/ecpg/include/ecpgtype.h
+6
-1
src/interfaces/ecpg/lib/extern.h
src/interfaces/ecpg/lib/extern.h
+5
-0
src/interfaces/ecpg/preproc/extern.h
src/interfaces/ecpg/preproc/extern.h
+5
-0
src/interfaces/ecpg/preproc/type.h
src/interfaces/ecpg/preproc/type.h
+5
-0
No files found.
src/interfaces/ecpg/include/ecpglib.h
View file @
b91f9042
...
...
@@ -3,6 +3,9 @@
* definitions into ecpg programs
*/
#ifndef _ECPGLIB_H
#define _ECPGLIB_H
#include <stdio.h>
#ifndef __BEOS__
...
...
@@ -74,3 +77,5 @@ void ECPGfree_auto_mem(void);
}
#endif
#endif
/* _ECPGLIB_H */
src/interfaces/ecpg/include/ecpgtype.h
View file @
b91f9042
...
...
@@ -27,6 +27,10 @@
* 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"
{
...
...
@@ -76,5 +80,6 @@ enum ECPGdtype
#ifdef __cplusplus
}
#endif
#endif
/* _ECPGTYPE_H */
src/interfaces/ecpg/lib/extern.h
View file @
b91f9042
#ifndef _ECPG_LIB_EXTERN_H
#define _ECPG_LIB_EXTERN_H
#include "postgres_fe.h"
#include "libpq-fe.h"
...
...
@@ -87,3 +90,5 @@ PGresult **
bool
ECPGstore_result
(
const
PGresult
*
results
,
int
act_field
,
const
struct
statement
*
stmt
,
struct
variable
*
var
);
#endif
/* _ECPG_LIB_EXTERN_H */
src/interfaces/ecpg/preproc/extern.h
View file @
b91f9042
#ifndef _ECPG_PREPROC_EXTERN_H
#define _ECPG_PREPROC_EXTERN_H
#include "type.h"
#include <errno.h>
...
...
@@ -89,3 +92,5 @@ extern ScanKeyword *ScanKeywordLookup(char *text);
#define OUT_OF_MEMORY 5
#define INDICATOR_NOT_STRUCT 6
#define INDICATOR_NOT_SIMPLE 7
#endif
/* _ECPG_PREPROC_EXTERN_H */
src/interfaces/ecpg/preproc/type.h
View file @
b91f9042
#ifndef _ECPG_PREPROC_TYPE_H
#define _ECPG_PREPROC_TYPE_H
#include "ecpgtype.h"
struct
ECPGtype
;
...
...
@@ -172,3 +175,5 @@ typedef struct ScanKeyword
char
*
name
;
int
value
;
}
ScanKeyword
;
#endif
/* _ECPG_PREPROC_TYPE_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment