2001-05-23 15:26:42 +02:00
|
|
|
/*
|
|
|
|
* PROGRAM: Interactive SQL utility
|
|
|
|
* MODULE: isql_proto.h
|
2003-09-29 14:43:14 +02:00
|
|
|
* DESCRIPTION: Prototype header file for isql.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): ______________________________________.
|
|
|
|
*/
|
|
|
|
|
2003-09-09 13:03:37 +02:00
|
|
|
#ifndef ISQL_ISQL_PROTO_H
|
|
|
|
#define ISQL_ISQL_PROTO_H
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2004-04-11 06:04:18 +02:00
|
|
|
void ISQL_array_dimensions(const TEXT*);
|
2003-11-28 07:48:34 +01:00
|
|
|
TEXT* ISQL_blankterm2(const TEXT* input, TEXT* output);
|
2004-04-29 00:36:29 +02:00
|
|
|
void ISQL_build_table_list(void**, FILE*, FILE*, FILE*);
|
|
|
|
void ISQL_build_view_list(void**, FILE*, FILE*, FILE*);
|
|
|
|
int ISQL_commit_work(int, FILE*, FILE*, FILE*);
|
2003-11-28 07:48:34 +01:00
|
|
|
void ISQL_copy_SQL_id(const TEXT*, TEXT*, TEXT);
|
|
|
|
// CVC: Not found, probably in some lost GUI-related file.
|
|
|
|
//int ISQL_create_database(TEXT*,
|
|
|
|
// SCHAR**,
|
|
|
|
// SCHAR*,
|
2004-04-29 00:36:29 +02:00
|
|
|
// SCHAR*, FILE*, FILE*, FILE*);
|
2003-11-30 07:41:29 +01:00
|
|
|
bool ISQL_dbcheck();
|
2003-10-02 21:20:55 +02:00
|
|
|
void ISQL_disconnect_database(bool);
|
|
|
|
void ISQL_errmsg(const ISC_STATUS*);
|
|
|
|
void ISQL_warning(ISC_STATUS*);
|
2003-11-30 07:41:29 +01:00
|
|
|
void ISQL_exit_db();
|
2003-11-28 07:48:34 +01:00
|
|
|
// CVC: Not found.
|
2004-04-29 00:36:29 +02:00
|
|
|
//int ISQL_extract(TEXT*, int, FILE*, FILE*, FILE*);
|
|
|
|
int ISQL_frontend_command(TEXT*, FILE*, FILE*, FILE*);
|
2003-10-02 21:20:55 +02:00
|
|
|
bool ISQL_get_base_column_null_flag(const TEXT*, const SSHORT, const TEXT*);
|
|
|
|
void ISQL_get_character_sets(SSHORT, SSHORT, bool, TEXT*);
|
2003-11-30 07:41:29 +01:00
|
|
|
SSHORT ISQL_get_default_char_set_id();
|
2003-11-28 07:48:34 +01:00
|
|
|
void ISQL_get_default_source(const TEXT*, TEXT*, ISC_QUAD*);
|
2003-10-02 21:20:55 +02:00
|
|
|
SSHORT ISQL_get_field_length(const TEXT*);
|
2005-03-26 06:33:55 +01:00
|
|
|
SLONG ISQL_get_index_segments(TEXT*, const size_t, const TEXT*, bool);
|
2003-10-02 21:20:55 +02:00
|
|
|
bool ISQL_get_null_flag(const TEXT*, TEXT*);
|
|
|
|
void ISQL_get_version(bool);
|
2004-04-29 00:36:29 +02:00
|
|
|
SSHORT ISQL_init(FILE*, FILE*);
|
2004-04-11 06:04:18 +02:00
|
|
|
#ifdef NOT_USED_OR_REPLACED
|
|
|
|
bool ISQL_is_domain(const TEXT*);
|
|
|
|
#endif
|
2003-12-03 09:19:24 +01:00
|
|
|
int ISQL_main(int, char**);
|
2003-11-30 07:41:29 +01:00
|
|
|
void ISQL_make_upper(TEXT*);
|
2005-03-31 09:50:32 +02:00
|
|
|
void ISQL_msg_get(USHORT number, TEXT* msg, const TEXT* arg1, const TEXT* arg2 = 0,
|
|
|
|
const TEXT* arg3 = 0, const TEXT* arg4 = 0, const TEXT* arg5 = 0);
|
|
|
|
void ISQL_msg_get(USHORT number, USHORT size, TEXT* msg, const TEXT* arg1,
|
|
|
|
const TEXT* arg2 = 0, const TEXT* arg3 = 0, const TEXT* arg4 = 0, const TEXT* arg5 = 0);
|
2004-05-03 01:06:37 +02:00
|
|
|
void ISQL_print_validation(FILE*, ISC_QUAD*, bool, FB_API_HANDLE);
|
2004-04-29 00:36:29 +02:00
|
|
|
void ISQL_printf(FILE*, const char*);
|
2005-05-19 10:03:10 +02:00
|
|
|
void ISQL_printf2(FILE*, const char*, ...);
|
2004-04-29 00:36:29 +02:00
|
|
|
void ISQL_query_database(SSHORT*, FILE*, FILE*, FILE*);
|
2003-11-30 07:41:29 +01:00
|
|
|
void ISQL_remove_and_unescape_quotes(TEXT* string, const char quote);
|
|
|
|
void ISQL_reset_settings();
|
2003-10-16 10:51:06 +02:00
|
|
|
void ISQL_ri_action_print(const TEXT*, const TEXT*, bool);
|
2004-04-29 00:36:29 +02:00
|
|
|
int ISQL_sql_statement(TEXT*, FILE*, FILE*, FILE*);
|
2003-10-02 21:20:55 +02:00
|
|
|
void ISQL_truncate_term(TEXT*, USHORT);
|
2004-04-11 06:04:18 +02:00
|
|
|
void ISQL_win_err(const char*);
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2003-10-02 21:20:55 +02:00
|
|
|
#endif // ISQL_ISQL_PROTO_H
|
2003-09-25 13:49:12 +02:00
|
|
|
|