~ubuntu-branches/ubuntu/karmic/firebird2.1/karmic

« back to all changes in this revision

Viewing changes to src/isql/isql_proto.h

  • Committer: Bazaar Package Importer
  • Author(s): Damyan Ivanov
  • Date: 2008-05-26 23:59:25 UTC
  • Revision ID: james.westby@ubuntu.com-20080526235925-2pnqj6nxpppoeaer
Tags: upstream-2.1.0.17798-0.ds2
ImportĀ upstreamĀ versionĀ 2.1.0.17798-0.ds2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *      PROGRAM:        Interactive SQL utility
 
3
 *      MODULE:         isql_proto.h
 
4
 *      DESCRIPTION:    Prototype header file for isql.epp
 
5
 *
 
6
 * The contents of this file are subject to the Interbase Public
 
7
 * License Version 1.0 (the "License"); you may not use this file
 
8
 * except in compliance with the License. You may obtain a copy
 
9
 * of the License at http://www.Inprise.com/IPL.html
 
10
 *
 
11
 * Software distributed under the License is distributed on an
 
12
 * "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
 
13
 * or implied. See the License for the specific language governing
 
14
 * rights and limitations under the License.
 
15
 *
 
16
 * The Original Code was created by Inprise Corporation
 
17
 * and its predecessors. Portions created by Inprise Corporation are
 
18
 * Copyright (C) Inprise Corporation.
 
19
 *
 
20
 * All Rights Reserved.
 
21
 * Contributor(s): ______________________________________.
 
22
 */
 
23
 
 
24
#ifndef ISQL_ISQL_PROTO_H
 
25
#define ISQL_ISQL_PROTO_H
 
26
 
 
27
#include "../common/classes/SafeArg.h"
 
28
 
 
29
void    ISQL_array_dimensions(const TEXT*);
 
30
TEXT*   ISQL_blankterm2(const TEXT* input, TEXT* output);
 
31
void    ISQL_build_table_list(void**, FILE*, FILE*, FILE*);
 
32
void    ISQL_build_view_list(void**, FILE*, FILE*, FILE*);
 
33
int             ISQL_commit_work(int, FILE*, FILE*, FILE*);
 
34
void    ISQL_copy_SQL_id(const TEXT*, TEXT*, TEXT);
 
35
// CVC: Not found, probably in some lost GUI-related file.
 
36
//int           ISQL_create_database(TEXT*,
 
37
//                                                              SCHAR**,
 
38
//                                                              SCHAR*,
 
39
//                                                              SCHAR*, FILE*, FILE*, FILE*);
 
40
bool    ISQL_dbcheck();
 
41
void    ISQL_disconnect_database(bool);
 
42
void    ISQL_errmsg(const ISC_STATUS*);
 
43
void    ISQL_warning(ISC_STATUS*);
 
44
void    ISQL_exit_db();
 
45
// CVC: Not found.
 
46
//int           ISQL_extract(TEXT*, int, FILE*, FILE*, FILE*);
 
47
int             ISQL_frontend_command(TEXT*, FILE*, FILE*, FILE*);
 
48
bool    ISQL_get_base_column_null_flag(const TEXT*, const SSHORT, const TEXT*);
 
49
void    ISQL_get_character_sets(SSHORT, SSHORT, bool, TEXT*);
 
50
SSHORT  ISQL_get_default_char_set_id();
 
51
void    ISQL_get_default_source(const TEXT*, TEXT*, ISC_QUAD*);
 
52
SSHORT  ISQL_get_field_length(const TEXT*);
 
53
SLONG   ISQL_get_index_segments(TEXT*, const size_t, const TEXT*, bool);
 
54
bool    ISQL_get_null_flag(const TEXT*, TEXT*);
 
55
void    ISQL_get_version(bool);
 
56
SSHORT  ISQL_init(FILE*, FILE*);
 
57
#ifdef NOT_USED_OR_REPLACED
 
58
bool    ISQL_is_domain(const TEXT*);
 
59
#endif
 
60
int             ISQL_main(int, char**);
 
61
void    ISQL_make_upper(TEXT*);
 
62
void    ISQL_msg_get(USHORT number, TEXT* msg, 
 
63
                                         const MsgFormat::SafeArg& args = MsgFormat::SafeArg());
 
64
void    ISQL_msg_get(USHORT number, USHORT size, TEXT* msg, 
 
65
                                         const MsgFormat::SafeArg& args = MsgFormat::SafeArg());
 
66
void    ISQL_print_validation(FILE*, ISC_QUAD*, bool, FB_API_HANDLE);
 
67
void    ISQL_printf(FILE*, const char*);
 
68
void    ISQL_printf2(FILE*, const char*, ...);
 
69
void    ISQL_query_database(SSHORT*, FILE*, FILE*, FILE*);
 
70
void    ISQL_remove_and_unescape_quotes(TEXT* string, const char quote);
 
71
void    ISQL_reset_settings();
 
72
void    ISQL_ri_action_print(const TEXT*, const TEXT*, bool);
 
73
int             ISQL_sql_statement(TEXT*, FILE*, FILE*, FILE*);
 
74
void    ISQL_truncate_term(TEXT*, USHORT);
 
75
//void  ISQL_win_err(const char*);
 
76
processing_state ISQL_print_item_blob(FILE*, const XSQLVAR*, FB_API_HANDLE, int subtype);
 
77
 
 
78
#endif // ISQL_ISQL_PROTO_H
 
79