home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / snip9707.zip / STK_BLOB.H < prev    next >
C/C++ Source or Header  |  1997-07-05  |  1KB  |  33 lines

  1. /* +++Date last modified: 05-Jul-1997 */
  2.  
  3. /* =======================================================================
  4.     STK_BLOB.h      Stack of Blobs. Binary Large OBjects.
  5.  
  6.                     A.Reitsma, Delft, The Netherlands.
  7.                     v0.10  94-07-03  Public Domain.
  8.  
  9.     This module is essentially an interface to the generic Stack module.
  10.     The size of the items is however variable.
  11.     This module is still VERY experimental.
  12.     A separate FAR version required ???
  13. ----------------------------------------------------------------------- */
  14.  
  15.  
  16. #ifndef STK_BLOB_H
  17. #define STK_BLOB_H
  18.  
  19. int  StackBlobCreate( void );
  20.  
  21. int  PushBlob( int Stack, void * BlobSource, unsigned int BlobSize );
  22.                 /* Duplicates contents of BlobSource on a stack         */
  23.  
  24. unsigned int PopBlob( int Stack, void * BlobDestination );
  25.                 /* Returns blobsize. If BlobDestination == NULL that's  */
  26.                 /* all it does. I.e: it is NOT a real Pop.              */
  27.                 /* Not NULL: Blob data is put into the indicated space, */
  28.                 /* i.e. it is a 'real' Pop.                             */
  29.                 /* Purpose: giving caller opportunity to allocate space */
  30.  
  31. #endif
  32. /* ==== STK_BLOB.h end ================================================ */
  33.