home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / clipper / 52capi.zip / ITEM.API < prev    next >
Text File  |  1993-08-06  |  2KB  |  68 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.  
  15. #ifndef _ITEM_API
  16.  
  17.  
  18. typedef void _near * ITEM;
  19.  
  20. typedef struct
  21. {
  22.    USHORT type;
  23.    USHORT paramCount;
  24.    ITEM   item[ 10 ];
  25. } EVALINFO;
  26.  
  27. typedef EVALINFO far * EVALINFOP;
  28.  
  29. extern ITEM    _itemNew( ITEM item );
  30.                
  31. extern USHORT  _itemType( ITEM item );
  32. extern USHORT  _itemSize( ITEM item );
  33.  
  34. extern ITEM    _itemPutL ( ITEM item, BOOL log );
  35. extern ITEM    _itemPutC ( ITEM item, BYTEP str );
  36. extern ITEM    _itemPutCL( ITEM item, BYTEP str, USHORT len );
  37. extern ITEM    _itemPutNL( ITEM item, long lnum );
  38. extern ITEM    _itemPutND( ITEM item, XDOUBLE nd );
  39. extern ITEM    _itemPutDS( ITEM item, BYTEP dstr );
  40.  
  41. extern BOOL    _itemGetL ( ITEM item );
  42. extern BYTEP   _itemGetC ( ITEM item );
  43. extern long    _itemGetNL( ITEM item );
  44. extern BYTEP   _itemGetDS( ITEM item, BYTEP buf );
  45. extern XDOUBLE _itemGetND( ITEM item );
  46.  
  47. extern USHORT  _itemCopyC( ITEM item, BYTEP buf, USHORT len );
  48. extern BOOL    _itemFreeC( BYTEP str );
  49.  
  50. extern ITEM    _itemArrayNew( USHORT uiSize );
  51. extern ITEM    _itemArrayGet( ITEM itemArr, USHORT uiElem );
  52. extern ITEM    _itemArrayPut( ITEM itemArr, USHORT uiElem, ITEM item );
  53.  
  54.  
  55. extern ITEM    _itemParam ( USHORT uiParam );
  56. extern ITEM    _itemReturn( ITEM item );
  57.  
  58. extern BOOL    _itemRelease( ITEM item );
  59.  
  60. extern BOOL    _evalNew     ( EVALINFOP evalP, ITEM eval );
  61. extern BOOL    _evalPutParam( EVALINFOP evalP, ITEM param );
  62. extern ITEM    _evalLaunch  ( EVALINFOP evalP );
  63. extern BOOL    _evalRelease ( EVALINFOP evalP );
  64.  
  65.  
  66. #define _ITEM_API
  67. #endif
  68.