8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-25 02:03:03 +01:00
firebird-mirror/src/dudley/ddl_proto.h

52 lines
1.7 KiB
C
Raw Normal View History

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
#include "../common/classes/SafeArg.h"
UCHAR* DDL_alloc(int);
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());
void DDL_exit(int);
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**);
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
{
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
{
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