/* * 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 #ifdef __cplusplus //extern "C" { #endif extern FLD MET_context_field(CTX, char *); extern BOOLEAN MET_database(DBB, BOOLEAN); extern USHORT MET_domain_lookup(REQ, FLD, char *); extern FLD MET_field(REL, char *); extern GPRE_NOD MET_fields(CTX); extern void MET_fini(DBB); extern SCHAR *MET_generator(TEXT *, DBB); extern BOOLEAN MET_get_column_default(REL, TEXT *, TEXT *, USHORT); extern BOOLEAN MET_get_domain_default(DBB, TEXT *, TEXT *, USHORT); extern USHORT MET_get_dtype(USHORT, USHORT, USHORT *); extern LLS MET_get_primary_key(DBB, TEXT *); extern PRC MET_get_procedure(DBB, TEXT *, TEXT *); extern REL MET_get_relation(DBB, TEXT *, TEXT *); extern INTLSYM MET_get_text_subtype(SSHORT); extern UDF MET_get_udf(DBB, TEXT *); extern REL MET_get_view_relation(REQ, char *, char *, USHORT); extern IND MET_index(DBB, TEXT *); extern void MET_load_hash_table(DBB); extern FLD MET_make_field(SCHAR *, SSHORT, SSHORT, BOOLEAN); extern IND MET_make_index(SCHAR *); extern REL MET_make_relation(SCHAR *); extern BOOLEAN MET_type(FLD, TEXT *, SSHORT *); extern BOOLEAN MET_trigger_exists(DBB, TEXT *); #ifdef __cplusplus //} /* extern "C" */ #endif #endif /* GPRE_GPRE_META_H */