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

53 lines
2.1 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
gpre_fld* MET_context_field(gpre_ctx*, const char*);
2009-01-14 09:22:32 +01:00
bool MET_database(gpre_dbb*, bool);
bool MET_domain_lookup(gpre_req*, gpre_fld*, const char*);
gpre_fld* MET_field(gpre_rel*, const char*);
gpre_nod* MET_fields(gpre_ctx*);
2009-01-14 09:22:32 +01:00
void MET_fini(gpre_dbb*);
const SCHAR* MET_generator(const TEXT*, const gpre_dbb*);
bool MET_get_column_default(const gpre_rel*, const TEXT*, TEXT*, USHORT);
2009-01-14 09:22:32 +01:00
bool MET_get_domain_default(gpre_dbb*, const TEXT*, TEXT*, USHORT);
2003-10-05 08:58:07 +02:00
USHORT MET_get_dtype(USHORT, USHORT, USHORT*);
2009-01-14 09:22:32 +01:00
gpre_lls* MET_get_primary_key(gpre_dbb*, const TEXT*);
gpre_prc* MET_get_procedure(gpre_dbb*, const TEXT*, const TEXT*);
gpre_rel* MET_get_relation(gpre_dbb*, const TEXT*, const TEXT*);
intlsym* MET_get_text_subtype(SSHORT);
2009-01-14 09:22:32 +01:00
udf* MET_get_udf(gpre_dbb*, const TEXT*);
gpre_rel* MET_get_view_relation(gpre_req*, const char*, const char*, USHORT);
2009-01-18 12:37:32 +01:00
gpre_index* MET_index(gpre_dbb*, TEXT*);
2009-01-14 09:22:32 +01:00
void MET_load_hash_table(gpre_dbb*);
gpre_fld* MET_make_field(const SCHAR*, SSHORT, SSHORT, bool);
2009-01-18 12:37:32 +01:00
gpre_index* MET_make_index(const SCHAR*);
gpre_rel* MET_make_relation(const SCHAR*);
bool MET_type(gpre_fld*, const TEXT*, SSHORT*);
2009-01-14 09:22:32 +01:00
bool MET_trigger_exists(gpre_dbb*, const TEXT*);
2001-05-23 15:26:42 +02:00
#endif // GPRE_GPRE_META_H
2003-10-05 08:58:07 +02:00