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

53 lines
2.0 KiB
C
Raw Normal View History

2001-05-23 15:26:42 +02:00
/*
* PROGRAM: Preprocessor
* MODULE: gpre_meta.h
2003-10-05 08:58:07 +02:00
* DESCRIPTION: Prototype header file for gpre_meta.epp and gpre_meta_boot.cpp
2001-05-23 15:26:42 +02:00
*
* 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
2003-10-07 11:58:26 +02:00
GPRE_FLD MET_context_field(GPRE_CTX, const char*);
bool MET_database(DBB, bool);
2003-10-07 11:58:26 +02:00
bool MET_domain_lookup(GPRE_REQ, GPRE_FLD, const char*);
GPRE_FLD MET_field(GPRE_REL, const char*);
GPRE_NOD MET_fields(GPRE_CTX);
void MET_fini(DBB);
const SCHAR* MET_generator(const TEXT*, DBB);
2003-10-07 11:58:26 +02:00
bool MET_get_column_default(GPRE_REL, const TEXT*, TEXT*, USHORT);
bool MET_get_domain_default(DBB, const TEXT*, TEXT*, USHORT);
2003-10-05 08:58:07 +02:00
USHORT MET_get_dtype(USHORT, USHORT, USHORT*);
2003-10-07 11:58:26 +02:00
LLS MET_get_primary_key(DBB, const TEXT*);
GPRE_PRC MET_get_procedure(DBB, const TEXT*, const TEXT*);
GPRE_REL MET_get_relation(DBB, const TEXT*, const TEXT*);
INTLSYM MET_get_text_subtype(SSHORT);
2003-10-07 11:58:26 +02:00
UDF MET_get_udf(DBB, const TEXT*);
GPRE_REL MET_get_view_relation(GPRE_REQ, const char*, const char*, USHORT);
2003-10-05 08:58:07 +02:00
IND MET_index(DBB, TEXT*);
void MET_load_hash_table(DBB);
2003-10-07 11:58:26 +02:00
GPRE_FLD MET_make_field(const SCHAR*, SSHORT, SSHORT, bool);
IND MET_make_index(const SCHAR*);
GPRE_REL MET_make_relation(const SCHAR*);
bool MET_type(GPRE_FLD, const TEXT*, SSHORT*);
bool MET_trigger_exists(DBB, const TEXT*);
2001-05-23 15:26:42 +02:00
#endif // GPRE_GPRE_META_H
2003-10-05 08:58:07 +02:00