home *** CD-ROM | disk | FTP | other *** search
/ Installer 5.00 - Please Dont Remove it From My Bag / 060126_0945.iso / CLIPPER / CLIPPER.EXE / CLIPPER5 / INCLUDE / ITEM.API < prev    next >
Encoding:
Text File  |  1993-03-04  |  1.6 KB  |  58 lines

  1. /***
  2. *
  3. *   Item.api
  4. *
  5. *   C language definitions for Clipper ITEM API
  6. *
  7. *   Copyright (c) 1992-1993, Computer Associates, International
  8. *   All rights reserved.
  9. *
  10. *   CA-Clipper uses Microsoft C large model calling conventions
  11. *
  12. */
  13.  
  14. typedef void _near * ITEM;
  15.  
  16. typedef struct
  17. {
  18.    USHORT type;
  19.    USHORT paramCount;
  20.    ITEM   item[ 10 ];
  21. } EVALINFO;
  22.  
  23. typedef EVALINFO far * EVALINFOP;
  24.  
  25. extern ITEM    _itemNew( ITEM item );
  26.                
  27. extern USHORT  _itemType( ITEM item );
  28. extern USHORT  _itemSize( ITEM item );
  29.  
  30. extern ITEM    _itemPutL ( ITEM item, BOOL log );
  31. extern ITEM    _itemPutC ( ITEM item, BYTEP str );
  32. extern ITEM    _itemPutCL( ITEM item, BYTEP str, USHORT len );
  33. extern ITEM    _itemPutNL( ITEM item, long lnum );
  34. extern ITEM    _itemPutND( ITEM item, XDOUBLE nd );
  35. extern ITEM    _itemPutDS( ITEM item, BYTEP dstr );
  36.  
  37. extern BOOL    _itemGetL ( ITEM item );
  38. extern BYTEP   _itemGetC ( ITEM item );
  39. extern long    _itemGetNL( ITEM item );
  40. extern BYTEP   _itemGetDS( ITEM item );
  41. extern XDOUBLE _itemGetND( ITEM item );
  42.  
  43. extern ITEM    _itemArrayNew( USHORT uiSize );
  44. extern ITEM    _itemArrayGet( ITEM itemArr, USHORT uiElem );
  45. extern ITEM    _itemArrayPut( ITEM itemArr, USHORT uiElem, ITEM item );
  46.  
  47.  
  48. extern ITEM    _itemParam ( USHORT uiParam );
  49. extern BOOL    _itemReturn( ITEM item );
  50.  
  51. extern BOOL    _itemRelease( ITEM item );
  52.  
  53. extern BOOL    _evalNew     ( EVALINFOP evalP, ITEM eval );
  54. extern BOOL    _evalPutParam( EVALINFOP evalP, ITEM param );
  55. extern ITEM    _evalLaunch  ( EVALINFOP evalP );
  56. extern BOOL    _evalRelease ( EVALINFOP evalP );
  57.  
  58.