// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Sibapi.pas' rev: 10.00

#ifndef SibapiHPP
#define SibapiHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Ib_intf.hpp>	// Pascal unit
#include <Sibglobals.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Sibapi
{
//-- type declarations -------------------------------------------------------
typedef void * *SIB_PVoid;

typedef char * *SIB_PPChar;

typedef int SIB_Long;

typedef int *SIB_PLong;

typedef Word SIB_UShort;

typedef void * *SIB_DBHandle;

typedef SIB_PVoid *SIB_PDBHandle;

typedef int SIB_Status;

typedef int *SIB_PStatus;

typedef SIB_PStatus *SIB_PPStatus;

typedef int SIB_StatusVector[20];

typedef SIB_StatusVector *SIB_PStatusVector;

typedef SIB_PStatusVector *SIB_PPStatusVector;

typedef void __cdecl (*SIB_EventCallback)(void * P, Word Length, char * Updated);

//-- var, const, procedure ---------------------------------------------------
extern PACKAGE int __fastcall SIB_QueEvents(Ib_intf::_di_IIBClientLibrary ClientLibrary, SIB_PStatusVector Status, SIB_PDBHandle DBHandle, SIB_PLong EventID, Word Length, char * EventBuffer, SIB_EventCallback Callback, void * CallbackArg);
extern PACKAGE int __fastcall SIB_CancelEvents(Ib_intf::_di_IIBClientLibrary ClientLibrary, SIB_PStatusVector Status, SIB_PVoid DBHandle, SIB_PLong EventID);
extern PACKAGE void __fastcall SIB_EventCounts(Ib_intf::_di_IIBClientLibrary ClientLibrary, SIB_PStatusVector Status, Word Length, char * EventBuffer, char * ResultBuffer);
extern PACKAGE int __fastcall SIB_Free(Ib_intf::_di_IIBClientLibrary ClientLibrary, char * P);

}	/* namespace Sibapi */
using namespace Sibapi;
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// Sibapi
