(*****************************************************************************)
(* MODULE: BSECONST                                                          *)
(* RIGHTS: Reggatta Systems, Inc. - COPYRIGHT 1995 - 2000                    *)
(* DESCR.: This module contains text constant definitions                    *)
(*****************************************************************************)
Unit BseConst;
{$I BSE.INC}
{$I BAPI.INC}
Interface
Uses
  BseTypes
  ,Windows
  ;

Const


  BAPI_NAME_OF_THE_WEEK  = 'TITAN';

  BAPI_DEFAULT_DATABASE  = 'STANDARD';

  BAPI_DATABASE_SECTION  = 'DATABASES';
  BAPI_DBPREFIX          = 'DATABASE%d';
  BAPI_INI_FILE          = BAPI_NAME_OF_THE_WEEK + '.INI';
  BAPI_FIELD_DELIM       = ';';

  BAPI_SESSION_SECTION   = 'Default Session';
  BAPI_SESSION_NAME      = 'Name';
  BAPI_SESSION_DIR       = 'Directory';


  BAPI_MAP_ERROR         = BAPI_NAME_OF_THE_WEEK + ' Error Mapping Field: ';

  BAPI_LOG_HEADER        = BAPI_NAME_OF_THE_WEEK + ' ENGINE LOG FILE';
  BAPI_LOG_FOOTER        = '*** END OF ' + BAPI_NAME_OF_THE_WEEK + ' LOG FILE ***';

  BAPI_TEST_MSG          = 'Delphi must be running to use apps created with this version.';
  BAPI_TEST_CAPTION      = BAPI_NAME_OF_THE_WEEK + ' TEST DRIVE MESSAGE';

  BAPI_ERROR_CAPTION     : PChar = BAPI_NAME_OF_THE_WEEK + ' SYSTEM MESSAGE';
  BAPI_NOT_SUPPORTED     = 'Titan (BDE) API Call "DBI%s" not supported.';
  BAPI_UNKNOWN_BDE_ERROR = 'Titan (BDE) Error %d.';

  BAPI_WINDOWS_DEBUG     : PChar = 'WINDOWS';

  REG_ALIASES            = 'Aliases';
  REG_DESCRIPTION        = 'Description';
  REG_PHYSICALNAME       = 'PhysicalName';
  REG_CONFIG             = 'Configuration';
  REG_REGOWNER           = 'RegisteredOwner';
  REG_REGORG             = 'RegisteredOrganization';
  REG_PRODUCTID          = 'ProductId';

  DBNAME_PREFIX          = '[';
  DBNAME_SUFFIX          = '] ';


Const
  FUNCNAMEOFFSET        = 9000;

  {BseDbase}
  fnOPENFUNCTIONLIST    = FUNCNAMEOFFSET + 0;
  fnOPENFUNCTIONARGLIST = FUNCNAMEOFFSET + 1;
  fnBEGINTRAN           = FUNCNAMEOFFSET + 2;
  fnENDTRAN             = FUNCNAMEOFFSET + 3;
  fnCOPYTABLE           = FUNCNAMEOFFSET + 4;
  fnPACKTABLE           = FUNCNAMEOFFSET + 5;
  fnREGENINDEX          = FUNCNAMEOFFSET + 6;
  fnSORTTABLE           = FUNCNAMEOFFSET + 7;
  fnCREATETABLE         = FUNCNAMEOFFSET + 8;
  fnCREATEINMEMTABLE    = FUNCNAMEOFFSET + 9;
  fnCREATETEMPTABLE     = FUNCNAMEOFFSET + 10;
  fnDORESTRUCTURE       = FUNCNAMEOFFSET + 11;
  fnRENAMETABLE         = FUNCNAMEOFFSET + 12;
  fnDELETETABLE         = FUNCNAMEOFFSET + 13;
  fnLOGIN               = FUNCNAMEOFFSET + 14;
  fnACQPERSISTTABLELOCK = FUNCNAMEOFFSET + 15;
  fnRELPERSISTTABLELOCK = FUNCNAMEOFFSET + 16;
  fnQALLOC              = FUNCNAMEOFFSET + 17;
  fnQPREPAREEXT         = FUNCNAMEOFFSET + 18;
  fnQEXECPROCDIRECT     = FUNCNAMEOFFSET + 19;
  fnQPREPAREPROC        = FUNCNAMEOFFSET + 20;
  fnOPENSPLIST          = FUNCNAMEOFFSET + 21;
  fnOPENSPPARAMLIST     = FUNCNAMEOFFSET + 22;
  fnFORMFULLNAME        = FUNCNAMEOFFSET + 23;
  fnOPENLOCKLIST        = FUNCNAMEOFFSET + 24;
  fnOPENVCHKLIST        = FUNCNAMEOFFSET + 25;
  fnOPENRINTLIST        = FUNCNAMEOFFSET + 26;
  fnOPENSECURITYLIST    = FUNCNAMEOFFSET + 27;
  fnOPENFAMILYLIST      = FUNCNAMEOFFSET + 28;
  fnOPENDRIVERLIST      = FUNCNAMEOFFSET + 29;

  {BseTable}
  fnGETBOOKMARK         = FUNCNAMEOFFSET + 40;
  fnSETTOBOOKMARK       = FUNCNAMEOFFSET + 41;
  fnGETVCHKDESC         = FUNCNAMEOFFSET + 42;
  fnGETRINTDESC         = FUNCNAMEOFFSET + 43;
  fnACQTABLELOCK        = FUNCNAMEOFFSET + 44;
  fnRELTABLELOCK        = FUNCNAMEOFFSET + 45;
  fnISRECORDLOCKED      = FUNCNAMEOFFSET + 46;
  fnUNDELETERECORD      = FUNCNAMEOFFSET + 47;
  fnGETSEQNO            = FUNCNAMEOFFSET + 48;
  fnSETTOSEQNO          = FUNCNAMEOFFSET + 49;
  fnGETRECORDNO         = FUNCNAMEOFFSET + 50;
  fnSETTORECORDNO       = FUNCNAMEOFFSET + 51;
  fnMAKEPERMANENT       = FUNCNAMEOFFSET + 52;
  fnSWITCHTOINDEX       = FUNCNAMEOFFSET + 53;
  fnADDINDEX            = FUNCNAMEOFFSET + 54;
  fnDELETEINDEX         = FUNCNAMEOFFSET + 55;
  fnENDDELAYEDUPDATES   = FUNCNAMEOFFSET + 56;
  fnAPPLYDELAYEDUPDATES = FUNCNAMEOFFSET + 57;
  fnGETDELAYEDUPDATES   = FUNCNAMEOFFSET + 58;
  fnREGENINDEXES        = FUNCNAMEOFFSET + 59;
  fnGETNATIVEDESC       = FUNCNAMEOFFSET + 60;
  fnOPENBLOB            = FUNCNAMEOFFSET + 61;
  fnGETBLOBSIZE         = FUNCNAMEOFFSET + 62;
  fnGETBLOB             = FUNCNAMEOFFSET + 63;
  fnPUTBLOB             = FUNCNAMEOFFSET + 64;
  fnGETBLOBHEADING      = FUNCNAMEOFFSET + 65;
  fnSETFIELDMAP         = FUNCNAMEOFFSET + 66;
  fnBEGINLINKMODE       = FUNCNAMEOFFSET + 67;
  fnENDLINKMODE         = FUNCNAMEOFFSET + 68;
  fnLINKDETAIL          = FUNCNAMEOFFSET + 69;
  fnLINKDETAILTOEXP     = FUNCNAMEOFFSET + 70;
  fnUNLINKDETAIL        = FUNCNAMEOFFSET + 71;
  fnGETLINKSTATUS       = FUNCNAMEOFFSET + 72;
  fnGETRECORDWITHBOOKMK = FUNCNAMEOFFSET + 73;
  fnBEGINDELAYEDUPDATES = FUNCNAMEOFFSET + 74;

  {BseSess}
  fnGETERRORCONTEXT     = FUNCNAMEOFFSET + 80;
  fnOPENTABLETYPESLIST  = FUNCNAMEOFFSET + 81;
  fnGETTABLETYPEDESC    = FUNCNAMEOFFSET + 82;
  fnOPENFIELDTYPESLIST  = FUNCNAMEOFFSET + 83;
  fnGETFIELDTYPEDESC    = FUNCNAMEOFFSET + 84;
  fnOPENINDEXTYPESLIST  = FUNCNAMEOFFSET + 85;
  fnOPENLDLIST          = FUNCNAMEOFFSET + 86;
  fnGETLDNAME           = FUNCNAMEOFFSET + 87;
  fnADDPASSWORD         = FUNCNAMEOFFSET + 88;
  fnDROPPASSWORD        = FUNCNAMEOFFSET + 89;
  fnOPENFIELDXLT        = FUNCNAMEOFFSET + 90;
  fnTRANSLATEFIELD      = FUNCNAMEOFFSET + 91;
  fnCLOSEFIELDXLT       = FUNCNAMEOFFSET + 92;
  fnOPENUSERLIST        = FUNCNAMEOFFSET + 93;
  fnREGISTERCALLBACK    = FUNCNAMEOFFSET + 94;
  fnGETCALLBACK         = FUNCNAMEOFFSET + 95;
  fnGETNUMBERFORMAT     = FUNCNAMEOFFSET + 96;
  fnSETNUMBERFORMAT     = FUNCNAMEOFFSET + 97;
  fnGETINDEXTYPEDESC    = FUNCNAMEOFFSET + 98;
  fnADDALIAS            = FUNCNAMEOFFSET + 99;
  fnDELETEALIAS         = FUNCNAMEOFFSET + 100;
  fnOPENCFGINFOLIST     = FUNCNAMEOFFSET + 101;
  fnOPENCONFIGFILE      = FUNCNAMEOFFSET + 102;
  fnCLOSECONFIGFILE     = FUNCNAMEOFFSET + 103;
  fnCFGSAVE             = FUNCNAMEOFFSET + 104;
  fnCFGBUILDPATH        = FUNCNAMEOFFSET + 105;
  fnCFGPOSITION         = FUNCNAMEOFFSET + 106;
  fnCFGNEXTNODE         = FUNCNAMEOFFSET + 107;
  fnCFGTRANSLATE        = FUNCNAMEOFFSET + 108;
  fnCFGGETHELP          = FUNCNAMEOFFSET + 109;
  fnCFGMERGE            = FUNCNAMEOFFSET + 110;
  fnIMPORTODBC          = FUNCNAMEOFFSET + 111;
  fnADDDRIVER           = FUNCNAMEOFFSET + 112;
  fnDELETEDRIVER        = FUNCNAMEOFFSET + 113;
  fnOPENDATABASEINTERNAL= FUNCNAMEOFFSET + 114;

  {BseEng}
  fnTRANSLATERECORDSTRUCTURE = FUNCNAMEOFFSET + 120;
  fnTIMESTAMPENCODE          = FUNCNAMEOFFSET + 121;
  fnTIMESTAMPDECODE          = FUNCNAMEOFFSET + 122;
  fnGETOBJFROMNAME           = FUNCNAMEOFFSET + 123;
  fnBATCHMOVE                = FUNCNAMEOFFSET + 124;
  fnGETPROP                  = FUNCNAMEOFFSET + 125;
  fnVALIDATEPROP             = FUNCNAMEOFFSET + 126;

implementation

end.

