8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-30 07:23:02 +01:00
firebird-mirror/src/gpre/gpre_meta.h

52 lines
2.0 KiB
C
Raw Normal View History

2001-05-23 15:26:42 +02:00
/*
* PROGRAM: Preprocessor
* MODULE: gpre_meta.h
* DESCRIPTION: Prototype header file for gpre_meta.c
*
* The contents of this file are subject to the Interbase Public
* License Version 1.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy
* of the License at http://www.Inprise.com/IPL.html
*
* Software distributed under the License is distributed on an
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
* or implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code was created by Inprise Corporation
* and its predecessors. Portions created by Inprise Corporation are
* Copyright (C) Inprise Corporation.
*
* All Rights Reserved.
* Contributor(s): ______________________________________.
*/
#ifndef GPRE_GPRE_META_H
#define GPRE_GPRE_META_H
extern GPRE_FLD MET_context_field(GPRE_CTX, char *);
extern bool MET_database(DBB, bool);
extern bool MET_domain_lookup(GPRE_REQ, GPRE_FLD, char *);
extern GPRE_FLD MET_field(GPRE_REL, char *);
extern GPRE_NOD MET_fields(GPRE_CTX);
2001-05-23 15:26:42 +02:00
extern void MET_fini(DBB);
extern SCHAR *MET_generator(TEXT *, DBB);
extern bool MET_get_column_default(GPRE_REL, TEXT *, TEXT *, USHORT);
extern bool MET_get_domain_default(DBB, TEXT *, TEXT *, USHORT);
2001-05-23 15:26:42 +02:00
extern USHORT MET_get_dtype(USHORT, USHORT, USHORT *);
extern LLS MET_get_primary_key(DBB, TEXT *);
extern GPRE_PRC MET_get_procedure(DBB, TEXT *, TEXT *);
extern GPRE_REL MET_get_relation(DBB, TEXT *, TEXT *);
2001-05-23 15:26:42 +02:00
extern INTLSYM MET_get_text_subtype(SSHORT);
extern UDF MET_get_udf(DBB, TEXT *);
extern GPRE_REL MET_get_view_relation(GPRE_REQ, char *, char *, USHORT);
2001-05-23 15:26:42 +02:00
extern IND MET_index(DBB, TEXT *);
extern void MET_load_hash_table(DBB);
extern GPRE_FLD MET_make_field(SCHAR *, SSHORT, SSHORT, bool);
2001-05-23 15:26:42 +02:00
extern IND MET_make_index(SCHAR *);
extern GPRE_REL MET_make_relation(SCHAR *);
extern bool MET_type(GPRE_FLD, TEXT *, SSHORT *);
extern bool MET_trigger_exists(DBB, TEXT *);
2001-05-23 15:26:42 +02:00
#endif /* GPRE_GPRE_META_H */