summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/lib/extern.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/ecpg/lib/extern.h')
-rw-r--r--src/interfaces/ecpg/lib/extern.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/lib/extern.h b/src/interfaces/ecpg/lib/extern.h
index b9318d05c98..3186b5b1102 100644
--- a/src/interfaces/ecpg/lib/extern.h
+++ b/src/interfaces/ecpg/lib/extern.h
@@ -52,3 +52,14 @@ struct connection
struct ECPGtype_information_cache *cache_head;
struct connection *next;
};
+
+/* structure to store descriptors */
+struct descriptor
+{
+ char *name;
+ PGresult *result;
+ struct descriptor *next;
+};
+
+PGresult **
+ECPGdescriptor_lvalue(int line, const char *descriptor);