8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 00:03:02 +01:00
firebird-mirror/src/qli/meta_proto.h

57 lines
2.0 KiB
C
Raw Normal View History

2001-05-23 15:26:42 +02:00
/*
* PROGRAM: JRD Command Oriented Query Language
* MODULE: meta_proto.h
2004-02-02 12:02:12 +01:00
* DESCRIPTION: Prototype header file for meta.epp
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 QLI_META_PROTO_H
#define QLI_META_PROTO_H
2001-05-23 15:26:42 +02:00
2009-01-14 13:19:43 +01:00
bool MET_declare(qli_dbb*, qli_fld*, const qli_name*);
2009-01-10 11:51:02 +01:00
void MET_define_field(qli_dbb*, qli_fld*);
2004-03-07 08:58:55 +01:00
void MET_define_index(qli_syntax*);
void MET_define_relation(qli_rel*, qli_rel*);
void MET_define_sql_relation(qli_rel*);
2009-01-10 11:51:02 +01:00
void MET_delete_database(qli_dbb*);
2009-01-14 13:19:43 +01:00
void MET_delete_field(qli_dbb*, qli_name*);
void MET_delete_index(qli_dbb*, qli_name*);
void MET_delete_relation(qli_rel*);
2009-01-10 11:51:02 +01:00
int MET_dimensions(qli_dbb*, const TEXT*);
void MET_fields(qli_rel*);
2009-01-10 11:51:02 +01:00
void MET_finish(qli_dbb*);
int MET_get_datatype (USHORT);
2009-01-10 11:51:02 +01:00
void MET_index_info(qli_dbb* db, const TEXT*, const TEXT*, SCHAR* const, size_t bufsize);
void MET_meta_commit(qli_dbb*);
void MET_meta_rollback(qli_dbb*);
FB_API_HANDLE MET_meta_transaction(qli_dbb*, bool);
void MET_modify_field(qli_dbb*, qli_fld*);
2004-03-07 08:58:55 +01:00
void MET_modify_index(qli_syntax*);
void MET_modify_relation(qli_rel*, qli_fld*);
2009-01-14 13:19:43 +01:00
void MET_ready(qli_syntax*, const bool);
2008-12-09 08:24:32 +01:00
void MET_shutdown();
void MET_sql_alter_table(qli_rel*, qli_fld*);
2004-03-07 08:58:55 +01:00
void MET_sql_cr_view(qli_syntax*);
void MET_sql_grant(qli_syntax*);
void MET_sql_revoke(qli_syntax*);
2009-01-10 11:51:02 +01:00
FB_API_HANDLE MET_transaction(nod_t, qli_dbb*);
2001-05-23 15:26:42 +02:00
2004-02-02 12:02:12 +01:00
#endif // QLI_META_PROTO_H