2001-05-23 15:26:42 +02:00
|
|
|
/*
|
|
|
|
* PROGRAM: Data Definition Utility
|
|
|
|
* MODULE: ddl_proto.h
|
2003-10-05 08:42:03 +02:00
|
|
|
* DESCRIPTION: Prototype header file for ddl.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): ______________________________________.
|
|
|
|
*/
|
|
|
|
|
2003-10-01 21:10:00 +02:00
|
|
|
#ifndef DUDLEY_DDL_PROTO_H
|
|
|
|
#define DUDLEY_DDL_PROTO_H
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2007-03-28 06:20:36 +02:00
|
|
|
#include "../common/classes/SafeArg.h"
|
|
|
|
|
2003-10-03 04:00:40 +02:00
|
|
|
UCHAR* DDL_alloc(int);
|
2007-03-28 06:20:36 +02:00
|
|
|
int DDL_db_error(ISC_STATUS*, USHORT, const MsgFormat::SafeArg& arg = MsgFormat::SafeArg());
|
|
|
|
int DDL_err(USHORT, const MsgFormat::SafeArg& arg = MsgFormat::SafeArg());
|
|
|
|
void DDL_error_abort(ISC_STATUS*, USHORT, const MsgFormat::SafeArg& arg = MsgFormat::SafeArg());
|
2003-10-03 04:00:40 +02:00
|
|
|
void DDL_exit(int);
|
2007-03-28 06:20:36 +02:00
|
|
|
void DDL_msg_partial(USHORT, const MsgFormat::SafeArg& arg = MsgFormat::SafeArg());
|
|
|
|
void DDL_msg_put(USHORT, const MsgFormat::SafeArg& arg = MsgFormat::SafeArg());
|
2004-02-02 12:02:12 +01:00
|
|
|
DUDLEY_NOD DDL_pop(dudley_lls**);
|
|
|
|
void DDL_push(DUDLEY_NOD, dudley_lls**);
|
2003-10-03 04:00:40 +02:00
|
|
|
bool DDL_yes_no(USHORT);
|
|
|
|
|
2004-02-02 12:02:12 +01:00
|
|
|
inline void LLS_PUSH(DUDLEY_NOD object, dudley_lls** stack)
|
2003-10-05 08:42:03 +02:00
|
|
|
{
|
2003-10-03 04:00:40 +02:00
|
|
|
DDL_push(object, stack);
|
|
|
|
}
|
2003-10-05 08:42:03 +02:00
|
|
|
|
2004-02-02 12:02:12 +01:00
|
|
|
inline DUDLEY_NOD LLS_POP(dudley_lls** stack)
|
2003-10-05 08:42:03 +02:00
|
|
|
{
|
2003-10-03 04:00:40 +02:00
|
|
|
return DDL_pop(stack);
|
|
|
|
}
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2003-10-01 21:10:00 +02:00
|
|
|
#endif // DUDLEY_DDL_PROTO_H
|
2003-10-05 08:42:03 +02:00
|
|
|
|