API Files

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  
c:\harbour\include
c:\harbour\include\error.api
/*
 * $Id: error.api 9191 2008-08-19 13:11:22Z vszakats $
 */

/*
 * Harbour Project source code:
 * Compatibility header file for CA-Cl*pper Error API
 *
 * Copyright 1999-2001 Viktor Szakats 
 * www - http://www.harbour-project.org
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this software; see the file COPYING.  If not, write to
 * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
 *
 * As a special exception, the Harbour Project gives permission for
 * additional uses of the text contained in its release of Harbour.
 *
 * The exception is that, if you link the Harbour libraries with other
 * files to produce an executable, this does not by itself cause the
 * resulting executable to be covered by the GNU General Public License.
 * Your use of that executable is in no way restricted on account of
 * linking the Harbour library code into it.
 *
 * This exception does not however invalidate any other reasons why
 * the executable file might be covered by the GNU General Public License.
 *
 * This exception applies only to the code released by the Harbour
 * Project under the name Harbour.  If you copy code from other
 * Harbour Project or Free Software Foundation releases into a copy of
 * Harbour, as the General Public License permits, the exception does
 * not apply to the code that you add in this way.  To avoid misleading
 * anyone as to the status of such modified files, you must delete
 * this exception notice from them.
 *
 * If you write modifications of your own for Harbour, it is your choice
 * whether to permit this exception to apply to your modifications.
 * If you do not wish that, delete this exception notice.
 *
 */

/* DON'T USE THIS FILE FOR NEW HARBOUR C CODE */

#ifndef _ERROR_API
#define _ERROR_API

#include "clipdefs.h"
#include "hbapierr.h"

typedef PHB_ITEM  ERRORP;

#define _errGetDescription hb_errGetDescription
#define _errGetFileName    hb_errGetFileName
#define _errGetFlags       hb_errGetFlags
#define _errGetGenCode     hb_errGetGenCode
#define _errGetOperation   hb_errGetOperation
#define _errGetOsCode      hb_errGetOsCode
#define _errGetSeverity    hb_errGetSeverity
#define _errGetSubCode     hb_errGetSubCode
#define _errGetSubSystem   hb_errGetSubSystem
#define _errGetTries       hb_errGetTries
#define _errLaunch         hb_errLaunch
#define _errNew            hb_errNew
#define _errPutDescription hb_errPutDescription
#define _errPutFileName    hb_errPutFileName
#define _errPutFlags       hb_errPutFlags
#define _errPutGenCode     hb_errPutGenCode
#define _errPutOperation   hb_errPutOperation
#define _errPutOsCode      hb_errPutOsCode
#define _errPutSeverity    hb_errPutSeverity
#define _errPutSubCode     hb_errPutSubCode
#define _errPutSubSystem   hb_errPutSubSystem
#define _errPutTries       hb_errPutTries
#define _errRelease        hb_errRelease

#endif /* _ERROR_API */
c:\harbour\include\extend.api
/*
 * $Id: extend.api 9191 2008-08-19 13:11:22Z vszakats $
 */

/*
 * Harbour Project source code:
 * Compatibility header file for CA-Cl*pper Extend API
 *
 * Copyright 1999-2001 Viktor Szakats 
 * www - http://www.harbour-project.org
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this software; see the file COPYING.  If not, write to
 * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
 *
 * As a special exception, the Harbour Project gives permission for
 * additional uses of the text contained in its release of Harbour.
 *
 * The exception is that, if you link the Harbour libraries with other
 * files to produce an executable, this does not by itself cause the
 * resulting executable to be covered by the GNU General Public License.
 * Your use of that executable is in no way restricted on account of
 * linking the Harbour library code into it.
 *
 * This exception does not however invalidate any other reasons why
 * the executable file might be covered by the GNU General Public License.
 *
 * This exception applies only to the code released by the Harbour
 * Project under the name Harbour.  If you copy code from other
 * Harbour Project or Free Software Foundation releases into a copy of
 * Harbour, as the General Public License permits, the exception does
 * not apply to the code that you add in this way.  To avoid misleading
 * anyone as to the status of such modified files, you must delete
 * this exception notice from them.
 *
 * If you write modifications of your own for Harbour, it is your choice
 * whether to permit this exception to apply to your modifications.
 * If you do not wish that, delete this exception notice.
 *
 */

/* DON'T USE THIS FILE FOR NEW HARBOUR C CODE */

#ifndef _EXTEND_API
#define _EXTEND_API

#include "clipdefs.h"
#include "hbapi.h"

typedef PHB_ITEM  ITEM;
#ifndef CLIPPERDEFS
   typedef double    XDOUBLE;
#endif

/* Compatible defines */

#define UNDEF           HB_IT_NIL
#define CHARACTER       HB_IT_STRING
#define NUMERIC         HB_IT_NUMERIC
#define LOGICAL         HB_IT_LOGICAL
#if !(defined(HB_OS_WIN_32) && defined(HB_OS_WIN_32_USED))
   #define DATE            HB_IT_DATE
#endif
#define ALIAS           HB_IT_ALIAS
#define MPTR            HB_IT_BYREF        /* or'ed with type when passed by reference */
#define MEMO            HB_IT_MEMO
/* NOTE: CA-Cl*pper bug: WORD will conflict with the typedef with the same
         name in clipdefs.h [vszakats] */
#if !(defined(HB_OS_WIN_32) && defined(HB_OS_WIN_32_USED))
   #define WORD            ( HB_IT_INTEGER | HB_IT_LONG )
#endif
#define ARRAY           HB_IT_ARRAY
#define BLOCK           HB_IT_BLOCK
#if !(defined(HB_OS_WIN_32) && defined(HB_OS_WIN_32_USED))
   #define DOUBLE          HB_IT_DOUBLE
#endif

/* Macros */

#define PCOUNT          hb_pcount()
#define ALENGTH( n )    hb_parinfa( n, 0 )

/* Functions */

#define _parc           hb_parc
#define _parclen        hb_parclen
#define _parcsiz        hb_parcsiz
#define _pards          hb_pards
#define _parinfa        hb_parinfa
#define _parinfo        hb_parinfo
#define _parl           hb_parl
#define _parnd          hb_parnd
#define _parni          hb_parni
#define _parnl          hb_parnl

#define _ret            hb_ret
#define _retc           hb_retc
#define _retclen        hb_retclen
#define _retds          hb_retds
#define _retl           hb_retl
#define _retnd          hb_retnd
#define _retni          hb_retni
#define _retnl          hb_retnl

#define _storc          hb_storc
#define _storclen       hb_storclen
#define _stords         hb_stords
#define _storl          hb_storl
#define _stornd         hb_stornd
#define _storni         hb_storni
#define _stornl         hb_stornl

#endif /* _EXTEND_API */
c:\harbour\include\filesys.api
/*
 * $Id: filesys.api 9203 2008-08-21 09:12:17Z vszakats $
 */

/*
 * Harbour Project source code:
 * Compatibility header file for CA-Cl*pper Filesys API
 *
 * Copyright 1999 David G. Holm 
 * www - http://www.harbour-project.org
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this software; see the file COPYING.  If not, write to
 * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
 *
 * As a special exception, the Harbour Project gives permission for
 * additional uses of the text contained in its release of Harbour.
 *
 * The exception is that, if you link the Harbour libraries with other
 * files to produce an executable, this does not by itself cause the
 * resulting executable to be covered by the GNU General Public License.
 * Your use of that executable is in no way restricted on account of
 * linking the Harbour library code into it.
 *
 * This exception does not however invalidate any other reasons why
 * the executable file might be covered by the GNU General Public License.
 *
 * This exception applies only to the code released by the Harbour
 * Project under the name Harbour.  If you copy code from other
 * Harbour Project or Free Software Foundation releases into a copy of
 * Harbour, as the General Public License permits, the exception does
 * not apply to the code that you add in this way.  To avoid misleading
 * anyone as to the status of such modified files, you must delete
 * this exception notice from them.
 *
 * If you write modifications of your own for Harbour, it is your choice
 * whether to permit this exception to apply to your modifications.
 * If you do not wish that, delete this exception notice.
 *
 */

/* DON'T USE THIS FILE FOR NEW HARBOUR C CODE */

#ifndef _FILESYS_API
#define _FILESYS_API

#include "clipdefs.h"
#include "hbapifs.h"
#include "error.api"

/* Compatible types */

#ifndef HB_LEGACY_LEVEL
#define FHANDLE HB_FHANDLE
#endif

typedef FHANDLE fhandle;
typedef FHANDLE * FHANDLEP;

#define FHANDLE_DEFINED

/* DOS predefined standard handles */

#define STDIN                   0
#define STDOUT                  1
#define STDERR                  2
#define STDAUX                  3
#define STDPRN                  4

/* Functions */

#define _fsChDir                hb_fsChDir
#define _fsChDrv                hb_fsChDrv
#define _fsClose                hb_fsClose
#define _fsCommit               hb_fsCommit
#define _fsCreate               hb_fsCreate
#define _fsCurDir               hb_fsCurDir
#define _fsCurDrv               hb_fsCurDrv
#define _fsDelete               hb_fsDelete
#define _fsError                hb_fsError
#define _fsExtOpen              hb_fsExtOpen
#define _fsIsDrv                hb_fsIsDrv
#define _fsLock                 hb_fsLock
#define _fsMkDir                hb_fsMkDir
#define _fsOpen                 hb_fsOpen
#define _fsRead( a, b, c )      hb_fsRead( a, ( BYTE * ) ( b ), c )
#define _fsRmDir                hb_fsRmDir
#define _fsRename               hb_fsRename
#define _fsSeek                 hb_fsSeek
#define _fsWrite( a, b, c )     hb_fsWrite( a, ( BYTE * ) ( b ), c )

#endif /* _FILESYS_API */
c:\harbour\include\fm.api
/*
 * $Id: fm.api 9191 2008-08-19 13:11:22Z vszakats $
 */

/*
 * Harbour Project source code:
 * Compatibility header file for CA-Cl*pper Fixed Memory API
 *
 * Copyright 1999-2001 Viktor Szakats 
 * www - http://www.harbour-project.org
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this software; see the file COPYING.  If not, write to
 * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
 *
 * As a special exception, the Harbour Project gives permission for
 * additional uses of the text contained in its release of Harbour.
 *
 * The exception is that, if you link the Harbour libraries with other
 * files to produce an executable, this does not by itself cause the
 * resulting executable to be covered by the GNU General Public License.
 * Your use of that executable is in no way restricted on account of
 * linking the Harbour library code into it.
 *
 * This exception does not however invalidate any other reasons why
 * the executable file might be covered by the GNU General Public License.
 *
 * This exception applies only to the code released by the Harbour
 * Project under the name Harbour.  If you copy code from other
 * Harbour Project or Free Software Foundation releases into a copy of
 * Harbour, as the General Public License permits, the exception does
 * not apply to the code that you add in this way.  To avoid misleading
 * anyone as to the status of such modified files, you must delete
 * this exception notice from them.
 *
 * If you write modifications of your own for Harbour, it is your choice
 * whether to permit this exception to apply to your modifications.
 * If you do not wish that, delete this exception notice.
 *
 */

/* DON'T USE THIS FILE FOR NEW HARBOUR C CODE */

#ifndef _FM_API
#define _FM_API

#include "clipdefs.h"
#include "hbapi.h"

/* Functions */

#define _xalloc                 hb_xalloc
#define _xgrab                  hb_xgrab
#define _xfree                  hb_xfree

/* Nant*cket Clipper Summer 87 compatible */

#define _exmgrab                hb_xgrab
#define _exmback( p, s )        hb_xfree( p )

#endif /* _FM_API */
c:\harbour\include\gt.api
/*
 * $Id: gt.api 9203 2008-08-21 09:12:17Z vszakats $
 */

/*
 * Harbour Project source code:
 * Compatibility header file for CA-Cl*pper Terminal API
 *
 * Copyright 1999-2001 Viktor Szakats 
 * www - http://www.harbour-project.org
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this software; see the file COPYING.  If not, write to
 * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
 *
 * As a special exception, the Harbour Project gives permission for
 * additional uses of the text contained in its release of Harbour.
 *
 * The exception is that, if you link the Harbour libraries with other
 * files to produce an executable, this does not by itself cause the
 * resulting executable to be covered by the GNU General Public License.
 * Your use of that executable is in no way restricted on account of
 * linking the Harbour library code into it.
 *
 * This exception does not however invalidate any other reasons why
 * the executable file might be covered by the GNU General Public License.
 *
 * This exception applies only to the code released by the Harbour
 * Project under the name Harbour.  If you copy code from other
 * Harbour Project or Free Software Foundation releases into a copy of
 * Harbour, as the General Public License permits, the exception does
 * not apply to the code that you add in this way.  To avoid misleading
 * anyone as to the status of such modified files, you must delete
 * this exception notice from them.
 *
 * If you write modifications of your own for Harbour, it is your choice
 * whether to permit this exception to apply to your modifications.
 * If you do not wish that, delete this exception notice.
 *
 */

/* DON'T USE THIS FILE FOR NEW HARBOUR C CODE */

#ifndef _GT_API
#define _GT_API

#include "clipdefs.h"
#include "hbapigt.h"

#ifndef HB_LEGACY_LEVEL
#define CLR_STRLEN      HB_CLRSTR_LEN
#endif

#define _gtBox          hb_gtBox
#define _gtBoxD         hb_gtBoxD
#define _gtBoxS         hb_gtBoxS
#define _gtColorSelect  hb_gtColorSelect
#define _gtDispBegin    hb_gtDispBegin
#define _gtDispCount    hb_gtDispCount
#define _gtDispEnd      hb_gtDispEnd
#define _gtGetColorStr  hb_gtGetColorStr
#define _gtGetCursor    hb_gtGetCursor
#define _gtGetPos       hb_gtGetPos
#define _gtIsColor      hb_gtIsColor
#define _gtMaxCol       hb_gtMaxCol
#define _gtMaxRow       hb_gtMaxRow
#define _gtPostExt      hb_gtPostExt
#define _gtPreExt       hb_gtPreExt
#define _gtRectSize     hb_gtRectSize
#define _gtRepChar      hb_gtRepChar
#define _gtRest         hb_gtRest
#define _gtSave         hb_gtSave
#define _gtScrDim       hb_gtScrDim
#define _gtScroll       hb_gtScroll
#define _gtSetBlink     hb_gtSetBlink
#define _gtSetColorStr  hb_gtSetColorStr
#define _gtSetCursor    hb_gtSetCursor
#define _gtSetMode      hb_gtSetMode
#define _gtSetPos       hb_gtSetPos
#define _gtSetSnowFlag  hb_gtSetSnowFlag
#define _gtWrite        hb_gtWrite
#define _gtWriteAt      hb_gtWriteAt
#define _gtWriteCon     hb_gtWriteCon

/* Undocumented part */

#define _gtInit         hb_gtInit
#define _gtExit         hb_gtExit

#define _gtWCreate      hb_gtWCreate
#define _gtWDestroy     hb_gtWDestroy
#define _gtWFlash       hb_gtWFlash
#define _gtWApp         hb_gtWApp
#define _gtWCurrent     hb_gtWCurrent
#define _gtWPos         hb_gtWPos
#define _gtWVis         hb_gtWVis

#define _gtSLR          hb_gtSLR
#define _gtModalRead    hb_gtModalRead
#define _gtBeginWrite   hb_gtBeginWrite
#define _gtEndWrite     hb_gtEndWrite
#define _gtFlushCursor  hb_gtFlushCursor
#define _gtSetColor     hb_gtSetColor
#define _gtGetColor     hb_gtGetColor
#define _gtSetBorder    hb_gtSetBorder

#endif /* _GT_API */
c:\harbour\include\hbundoc.api
/*
 * $Id: hbundoc.api 8940 2008-07-06 21:03:15Z vszakats $
 */

/*
 * Harbour Project source code:
 * Compatibility header file for undocumented C API functions
 *
 * Copyright 1999-2001 Viktor Szakats 
 * www - http://www.harbour-project.org
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this software; see the file COPYING.  If not, write to
 * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
 *
 * As a special exception, the Harbour Project gives permission for
 * additional uses of the text contained in its release of Harbour.
 *
 * The exception is that, if you link the Harbour libraries with other
 * files to produce an executable, this does not by itself cause the
 * resulting executable to be covered by the GNU General Public License.
 * Your use of that executable is in no way restricted on account of
 * linking the Harbour library code into it.
 *
 * This exception does not however invalidate any other reasons why
 * the executable file might be covered by the GNU General Public License.
 *
 * This exception applies only to the code released by the Harbour
 * Project under the name Harbour.  If you copy code from other
 * Harbour Project or Free Software Foundation releases into a copy of
 * Harbour, as the General Public License permits, the exception does
 * not apply to the code that you add in this way.  To avoid misleading
 * anyone as to the status of such modified files, you must delete
 * this exception notice from them.
 *
 * If you write modifications of your own for Harbour, it is your choice
 * whether to permit this exception to apply to your modifications.
 * If you do not wish that, delete this exception notice.
 *
 */

/* DON'T USE THIS FILE FOR NEW HARBOUR C CODE */

#ifndef HB_UNDOC_API_
#define HB_UNDOC_API_

#include "clipdefs.h"
#include "hbapifs.h"

/* Undocumented CA-Cl*pper Extend API */

#define _reta           hb_reta
#define _pcount         hb_pcount

/* Undocumented CA-Cl*pper _cEval...() functions */

#define _cEval0         hb_evalBlock0
#define _cEval1         hb_evalBlock1

/* Undocumented CA-Cl*pper misc functions */

#define _getGrip        hb_gcGripGet
#define _getDrop        hb_gcGripDrop

/* Undocumented CA-Cl*pper TSupport API */

#define _tchdir         hb_fsChDir
#define _tchdrv         hb_fsChDrv
#define _tclose         hb_fsClose
#define _tcommit        hb_fsCommit
#define _tcreat         hb_fsCreate
#define _tctemp(p,a,b)  hb_fsCreateTemp( p, ( BYTE * ) "", a, b )
#define _tcurdir        hb_fsCurDir
#define _tcurdrv        hb_fsCurDrv
#define _tdevraw        hb_fsSetDevMode
#define _terror         hb_fsError
#define _tisdevice      hb_fsIsDevice
#define _tisdrv         hb_fsIsDrv
#define _tlock          hb_fsLock
#define _tlseek         hb_fsSeek
#define _tmkdir         hb_fsMkDir
#define _topen          hb_fsOpen
#define _tread          hb_fsRead
#define _trename        hb_fsRename
#define _trmdir         hb_fsRmDir
#define _tunlink        hb_fsDelete
#define _twrite         hb_fsWrite
#define _txopen         hb_fsExtOpen

/* Undocumented CA-Cl*pper support functions */

#define _bset           memset
#define _bmove          memmove
#define _bcopy          memcpy
#define _lcopy          memcpy
#define _ncopyuc        hb_strncpyUpper
#define _ncopylc        hb_strncpyLower
#define _bcmp           memcmp
#define _bscan(p,cnt,c) memchr( p, c, cnt )

#endif /* HB_UNDOC_API_ */
c:\harbour\include\hb_btree.api
/*
  $Id: hb_btree.api 6447 2004-12-28 09:29:30Z druzus $
*/

/*
 * Harbour Project source code:
 * HB_BTree Harbour C API header.
 *
 * Copyright 2002 April White 
 * www - http://www.harbour-project.org
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version, with one exception:
 *
 * The exception is that if you link the Harbour Runtime Library (HRL)
 * and/or the Harbour Virtual Machine (HVM) with other files to produce
 * an executable, this does not by itself cause the resulting executable
 * to be covered by the GNU General Public License. Your use of that
 * executable is in no way restricted on account of linking the HRL
 * and/or HVM code into it.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA (or visit
 * their web site at http://www.gnu.org/).
 *
 */

/* Changelog

  * Changed, bla-bla
  ! Fixed
  % Optimized
  + Added
  - Removed
  ; Comment

  * contrib/btree/hb_btree.api
    + extern "C"
    * rename nFlags to ulFlags
    + declaration for hb_BTreeDataItem()
    * declaration for hb_BTreeInsert() to use a PHB_ITEM vs LONG

*/

#ifndef HB_BTREE_API
#define HB_BTREE_API

HB_EXTERN_BEGIN

#include "hb_btree.ch"

struct hb_BTree;

struct hb_BTree * hb_BTreeNew( BYTE *FileName, USHORT usPageSize, USHORT usKeySize, ULONG ulFlags, USHORT usBuffers );
struct hb_BTree * hb_BTreeOpen( BYTE *FileName, ULONG lFlags, USHORT usBuffers );
void hb_BTreeClose( struct hb_BTree * pBTree );
BOOL hb_BTreeInsert( struct hb_BTree * pBTree, BYTE * szKey, PHB_ITEM pData );
BOOL hb_BTreeDelete( struct hb_BTree * pBTree, BYTE * szKey, LONG lData );
void hb_BTreeGoTop( struct hb_BTree * pBTree );
void hb_BTreeGoBottom( struct hb_BTree * pBTree );
BOOL hb_BTreeSeek( struct hb_BTree * pBTree, BYTE * szKey, LONG lData, BOOL bSoftSeek );
LONG hb_BTreeSkip( struct hb_BTree * pBTree, LONG nRecords );
const BYTE * hb_BTreeKey( struct hb_BTree * pBTree );
LONG hb_BTreeData( struct hb_BTree * pBTree );
PHB_ITEM hb_BTreeDataItem( struct hb_BTree * pBTree );

HB_EXTERN_END

#endif
c:\harbour\include\item.api
/*
 * $Id: item.api 9203 2008-08-21 09:12:17Z vszakats $
 */

/*
 * Harbour Project source code:
 * Compatibility header file for CA-Cl*pper Item API
 *
 * Copyright 1999-2001 Viktor Szakats 
 * www - http://www.harbour-project.org
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this software; see the file COPYING.  If not, write to
 * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
 *
 * As a special exception, the Harbour Project gives permission for
 * additional uses of the text contained in its release of Harbour.
 *
 * The exception is that, if you link the Harbour libraries with other
 * files to produce an executable, this does not by itself cause the
 * resulting executable to be covered by the GNU General Public License.
 * Your use of that executable is in no way restricted on account of
 * linking the Harbour library code into it.
 *
 * This exception does not however invalidate any other reasons why
 * the executable file might be covered by the GNU General Public License.
 *
 * This exception applies only to the code released by the Harbour
 * Project under the name Harbour.  If you copy code from other
 * Harbour Project or Free Software Foundation releases into a copy of
 * Harbour, as the General Public License permits, the exception does
 * not apply to the code that you add in this way.  To avoid misleading
 * anyone as to the status of such modified files, you must delete
 * this exception notice from them.
 *
 * If you write modifications of your own for Harbour, it is your choice
 * whether to permit this exception to apply to your modifications.
 * If you do not wish that, delete this exception notice.
 *
 */

/* DON'T USE THIS FILE FOR NEW HARBOUR C CODE */

#ifndef _ITEM_API
#define _ITEM_API

#include "hbapiitm.h"

#ifndef HB_LEGACY_LEVEL
#define EVALINFO        HB_EVALINFO
#define PEVALINFO       PHB_EVALINFO
#endif

typedef PEVALINFO EVALINFOP;

#define _evalLaunch     hb_evalLaunch
#define _evalNew        hb_evalNew
#define _evalPutParam   hb_evalPutParam
#define _evalRelease    hb_evalRelease

#define _itemArrayGet   hb_itemArrayGet
#define _itemArrayNew   hb_itemArrayNew
#define _itemArrayPut   hb_itemArrayPut
#define _itemCopyC      hb_itemCopyC
#define _itemFreeC      hb_itemFreeC
#define _itemGetC       hb_itemGetC
#define _itemGetDS      hb_itemGetDS
#define _itemGetL       hb_itemGetL
#define _itemGetND      hb_itemGetND
#define _itemGetNL      hb_itemGetNL
#define _itemNew        hb_itemNew
#define _itemParam      hb_itemParam
#define _itemPutC       hb_itemPutC
#define _itemPutCL      hb_itemPutCL
#define _itemPutDS      hb_itemPutDS
#define _itemPutL       hb_itemPutL
#define _itemPutND      hb_itemPutND
#define _itemPutNL      hb_itemPutNL
#define _itemRelease    hb_itemRelease
#define _itemReturn     hb_itemReturn
#define _itemSize       hb_itemSize
#define _itemType       hb_itemType

#endif /* _ITEM_API */
c:\harbour\include\rdd.api
/*
 * $Id: rdd.api 9191 2008-08-19 13:11:22Z vszakats $
 */

/*
 * Harbour Project source code:
 * Compatibility header file for CA-Cl*pper RDD API
 *
 * Copyright 1999-2001 Viktor Szakats 
 * www - http://www.harbour-project.org
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this software; see the file COPYING.  If not, write to
 * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
 *
 * As a special exception, the Harbour Project gives permission for
 * additional uses of the text contained in its release of Harbour.
 *
 * The exception is that, if you link the Harbour libraries with other
 * files to produce an executable, this does not by itself cause the
 * resulting executable to be covered by the GNU General Public License.
 * Your use of that executable is in no way restricted on account of
 * linking the Harbour library code into it.
 *
 * This exception does not however invalidate any other reasons why
 * the executable file might be covered by the GNU General Public License.
 *
 * This exception applies only to the code released by the Harbour
 * Project under the name Harbour.  If you copy code from other
 * Harbour Project or Free Software Foundation releases into a copy of
 * Harbour, as the General Public License permits, the exception does
 * not apply to the code that you add in this way.  To avoid misleading
 * anyone as to the status of such modified files, you must delete
 * this exception notice from them.
 *
 * If you write modifications of your own for Harbour, it is your choice
 * whether to permit this exception to apply to your modifications.
 * If you do not wish that, delete this exception notice.
 *
 */

/* DON'T USE THIS FILE FOR NEW HARBOUR C CODE */

#ifndef _RDD_API
#define _RDD_API

#include "clipdefs.h"
#include "hbapirdd.h"
#include "item.api"

#define _rddInherit          hb_rddInherit
#if 0
#define _rddDisinherit( x )  hb_rddDisinherit( ( const char * ) x )
#define _rddExtendType       hb_rddExtendType
#define _rddFieldType        hb_rddFieldType
#endif

#endif /* _RDD_API */
c:\harbour\include\vm.api
/*
 * $Id: vm.api 9191 2008-08-19 13:11:22Z vszakats $
 */

/*
 * Harbour Project source code:
 * Compatibility header file for CA-Cl*pper Virtual Memory API
 *
 * Copyright 1999-2001 Viktor Szakats 
 * www - http://www.harbour-project.org
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this software; see the file COPYING.  If not, write to
 * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
 *
 * As a special exception, the Harbour Project gives permission for
 * additional uses of the text contained in its release of Harbour.
 *
 * The exception is that, if you link the Harbour libraries with other
 * files to produce an executable, this does not by itself cause the
 * resulting executable to be covered by the GNU General Public License.
 * Your use of that executable is in no way restricted on account of
 * linking the Harbour library code into it.
 *
 * This exception does not however invalidate any other reasons why
 * the executable file might be covered by the GNU General Public License.
 *
 * This exception applies only to the code released by the Harbour
 * Project under the name Harbour.  If you copy code from other
 * Harbour Project or Free Software Foundation releases into a copy of
 * Harbour, as the General Public License permits, the exception does
 * not apply to the code that you add in this way.  To avoid misleading
 * anyone as to the status of such modified files, you must delete
 * this exception notice from them.
 *
 * If you write modifications of your own for Harbour, it is your choice
 * whether to permit this exception to apply to your modifications.
 * If you do not wish that, delete this exception notice.
 *
 */

/* DON'T USE THIS FILE FOR NEW HARBOUR C CODE */

/* -------------------------------------------------------- */
/* Warning: VM functionality is not supported by Harbour.   */
/*          All functions will emulate constant failure.    */
/* -------------------------------------------------------- */

#ifndef _VM_API
#define _VM_API

#include "clipdefs.h"
#include "hbapi.h"

/* Standard */
#define _xvalloc( size, flags )      hb_xvalloc( ( ULONG ) size, flags )
#define _xvfree( h )                 hb_xvfree( h )
#define _xvrealloc( h, size, flags ) hb_xvrealloc( h, ( ULONG ) size, flags )
#define _xvlock( h )                 hb_xvlock( h )
#define _xvunlock( h )               hb_xvunlock( h )

/* Wire */
#define _xvwire( h )                 hb_xvwire( h )
#define _xvunwire( h )               hb_xvunwire( h )

/* State */
#define _xvlockcount( h )            hb_xvlockcount( h )
#define _xvsize( h )                 hb_xvsize( h )

/* Heap */
#define _xvheapnew( size )           hb_xvheapnew( ( ULONG ) size )
#define _xvheapdestroy( h )          hb_xvheapdestroy( h )
#define _xvheapresize( h, size )     hb_xvheapresize( h, ( ULONG ) size )
#define _xvheapalloc( h, size )      hb_xvheapalloc( h, ( ULONG ) size )
#define _xvheapfree( h, offset )     hb_xvheapfree( h, ( ULONG ) offset )
#define _xvheaplock( h, offset )     hb_xvheaplock( h, ( ULONG ) offset )
#define _xvheapunlock( h, offset )   hb_xvheapunlock( h, ( ULONG ) offset )

#endif /* _VM_API */

Page url: http://www.yourdomain.com/help/index.html?api_files.htm