home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // IBPROC32.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
- // From: IBPROC32.pas
- //----------------------------------------------------------------------------
- #ifndef IBPROC32HPP
- #define IBPROC32HPP
- //----------------------------------------------------------------------------
- #ifndef SysUtilsHPP
- #include <SysUtils.hpp>
- #endif
-
- #ifndef SystemHPP
- #include <System.hpp>
- #endif
-
- namespace Ibproc32
- {
- //-- type declarations -------------------------------------------------------
- typedef void *isc_db_handle;
-
- typedef System::Pointer *pisc_db_handle;
-
- typedef System::Integer isc_long;
-
- typedef System::Longint *pisc_long;
-
- typedef System::Integer isc_status;
-
- typedef System::Longint *pisc_status;
-
- typedef void *isc_tr_handle;
-
- typedef System::Pointer *pisc_tr_handle;
-
- typedef System::Longint status_vector[20];
-
- typedef status_vector *pstatus_vector;
-
- typedef pstatus_vector *ppstatus_vector;
-
- typedef System::Word IBPROC32_short;
-
- struct isc_teb
- {
- System::Pointer *db_ptr;
- System::Longint tpb_len;
- System::Char *tpb_ptr;
- } ;
-
- typedef isc_teb *pisc_teb;
-
- struct TXSQLVar
- {
-
- } ;
-
- struct TXSQLDA
- {
-
- } ;
-
- typedef TXSQLDA *PTXSQLDA;
-
- typedef void __fastcall (*isc_callback)(System::Pointer ptr, System::Word length, System::PChar updated
- );
-
- typedef System::Longint __stdcall (*TIscAttachDatabase)(pstatus_vector status, System::Word db_name_length
- , System::PChar db_name, pisc_db_handle db_handle, System::Word parm_buffer_length, System::PChar parm_buffer
- );
-
- typedef System::Longint __stdcall (*TIscCancelEvents)(pstatus_vector status, pisc_db_handle db_handle
- , pisc_long event_id);
-
- typedef System::Longint __stdcall (*TIscCommitTransaction)(pstatus_vector status, pisc_tr_handle trans_handle
- );
-
- typedef System::Longint __stdcall (*TIscDetachDatabase)(pstatus_vector status, pisc_db_handle db_handle
- );
-
- typedef System::Longint __stdcall (*TIscDropDatabase)(pstatus_vector status, pisc_db_handle db_handle
- );
-
- typedef System::Longint __stdcall (*TIscDsqlExecuteImmediate)(pstatus_vector status, pisc_db_handle
- db_handle, pisc_tr_handle trans_handle, System::Word length, System::PChar statement, System::Word
- dialect, PTXSQLDA xslqda);
-
- typedef System::Longint __cdecl (*TIscEventBlock)(System::Pointer event_buf, System::Pointer result_buf
- , System::Word count, System::PChar name1);
-
- typedef void __stdcall (*TIscEventCounts)(pstatus_vector status, System::Word buffer_length, System::PChar
- event_buffer, System::PChar result_buffer);
-
- typedef System::Longint __stdcall (*TIscFree)(System::PChar buffer);
-
- typedef System::Longint __stdcall (*TIscInterprete)(System::PChar buffer, ppstatus_vector status);
-
- typedef System::Longint __stdcall (*TIscQueEvents)(pstatus_vector status, pisc_db_handle db_handle,
- pisc_long event_id, System::Word length, System::PChar event_buffer, isc_callback event_function, System::Pointer
- event_function_arg);
-
- typedef System::Longint __stdcall (*TIscRollbackTransaction)(pstatus_vector status, pisc_tr_handle trans_handle
- );
-
- typedef System::Longint __stdcall (*TIscStartMultiple)(pstatus_vector status, pisc_tr_handle trans_handle
- , System::Word db_handle_count, pisc_teb teb_vector_address);
-
- class __declspec(delphiclass) EDLLLoadError;
- class __declspec(pascalimplementation) EDLLLoadError : public Sysutils::Exception
- {
- typedef EDLLLoadError ThisClass;
- typedef Sysutils::Exception inherited;
-
- public:
- /* !! Exception.Create */ __fastcall EDLLLoadError(const System::AnsiString Msg) : Sysutils::Exception(
- Msg) { }
- /* !! Exception.CreateFmt */ __fastcall EDLLLoadError(const System::AnsiString Msg, const TVarRec *
- Args, const System::Integer Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
- /* !! Exception.CreateRes */ __fastcall EDLLLoadError(System::Integer Ident) : Sysutils::Exception(
- Ident) { }
- /* !! Exception.CreateResFmt */ __fastcall EDLLLoadError(System::Integer Ident, const TVarRec *Args
- , const System::Integer Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
- /* !! Exception.CreateHelp */ __fastcall EDLLLoadError(const System::AnsiString Msg, System::Integer
- AHelpContext) : Sysutils::Exception(Msg, AHelpContext) { }
- /* !! Exception.CreateFmtHelp */ __fastcall EDLLLoadError(const System::AnsiString Msg, const TVarRec
- *Args, const System::Integer Args_Size, System::Integer AHelpContext) : Sysutils::Exception(Msg, Args
- , Args_Size, AHelpContext) { }
- /* !! Exception.CreateResHelp */ __fastcall EDLLLoadError(System::Integer Ident, System::Integer AHelpContext
- ) : Sysutils::Exception(Ident, AHelpContext) { }
- /* !! Exception.CreateResFmtHelp */ __fastcall EDLLLoadError(System::Integer Ident, const TVarRec *
- Args, const System::Integer Args_Size, System::Integer AHelpContext) : Sysutils::Exception(Ident,
- Args, Args_Size, AHelpContext) { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~EDLLLoadError(void) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
- #define isc_dpb_version1 System::Byte(1)
- #define isc_dpb_user_name System::Byte(28)
- #define isc_dpb_password System::Byte(29)
- #define isc_tpb_concurrency System::Byte(2)
- #define isc_tpb_version3 System::Byte(3)
- #define isc_tpb_wait System::Byte(6)
- #define isc_tpb_write System::Byte(9)
-
- } /* namespace Ibproc32 */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Ibproc32;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // IBPROC32
-