home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Database / CLIPR502.DOS / INCLUDE / VM.API < prev   
Encoding:
Text File  |  1993-02-15  |  1.0 KB  |  70 lines

  1. /***
  2. *
  3. *   Vm.api
  4. *
  5. *   C language definitions for the Clipper VM API
  6. *
  7. *   Copyright (c) 1992-1993, Computer Associates International, Inc.
  8. *   All rights reserved.
  9. *
  10. *   CA-Clipper uses Microsoft C large model calling conventions
  11. *
  12. */
  13.  
  14. #ifndef _CLIPDEFS_H
  15.    #include "clipdefs.h"
  16.  
  17. #endif
  18.  
  19.  
  20. /*
  21. *
  22. * Standard
  23. *
  24. */
  25. HANDLE _xvalloc(USHORT size, USHORT flags);
  26. void   _xvfree (HANDLE h);
  27.  
  28. HANDLE _xvrealloc(HANDLE h, USHORT size, USHORT flags);
  29.  
  30. FARP   _xvlock  (HANDLE h);
  31. void   _xvunlock(HANDLE h);
  32.  
  33.  
  34. /*
  35. *
  36. * Wire
  37. *
  38. */
  39. FARP _xvwire  (HANDLE h);
  40. void _xvunwire(HANDLE h);
  41.  
  42.  
  43. /*
  44. *
  45. * State
  46. *
  47. */
  48. USHORT _xvlockcount(HANDLE h);
  49. USHORT _xvsize     (HANDLE h);
  50.  
  51.  
  52. /*
  53. *
  54. * API VM Heap 
  55. *
  56. */
  57. HANDLE _xvheapnew    (USHORT size);
  58. void   _xvheapdestroy(HANDLE h);
  59.  
  60. HANDLE _xvheapresize(HANDLE h, USHORT size);
  61.  
  62. USHORT _xvheapalloc(HANDLE h, USHORT size);
  63. void   _xvheapfree (HANDLE h, USHORT offset);
  64.  
  65. FARP   _xvheaplock  (HANDLE h, USHORT offset);
  66. void   _xvheapunlock(HANDLE h, USHORT offset);
  67.  
  68. #define _VM_API
  69.  
  70.