home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Database / CLIPR503.W96 / BLOB.C_ / BLOB.C
C/C++ Source or Header  |  1995-06-26  |  3KB  |  73 lines

  1. /***
  2. *
  3. *  BLOB.CH
  4. *
  5. *  Translations for BLOB functions into dbInfo() and others
  6. *
  7. *  Copyright (c) 1995, Computer Associates International, Inc.
  8. *  All rights reserved.
  9. *
  10. */
  11.  
  12. #ifndef _BLOB_CH_
  13. #define _BLOB_CH_
  14.  
  15.  
  16. #ifndef _DBINFO_CH
  17.   #include "dbinfo.ch"
  18. #endif
  19.  
  20.  
  21. #xtranslate BLOBDirectExport( <nPointer>, <cTargetFile> [, <kMode>] )  => ;
  22.                                                                           ;
  23.             dbInfo( DBI_BLOB_DIRECT_EXPORT, { <nPointer>, <cTargetFile>,  ;
  24.                     iif( <.kMode.>, <kMode>, BLOB_EXPORT_OVERWRITE ) } )
  25.  
  26. #xtranslate BLOBDirectGet( <nPointer> [, <nStart> [, <nCount> ]] )     => ;
  27.                                                                           ;
  28.             dbInfo( DBI_BLOB_DIRECT_GET, { <nPointer>, <nStart>, <nCount> } )
  29.  
  30. #xtranslate BLOBDirectImport( <nOldPointer>, <cSourceFile> )           => ;
  31.                                                                           ;
  32.             dbInfo( DBI_BLOB_DIRECT_IMPORT, { <nOldPointer>, <cSourceFile> } )
  33.  
  34. #xtranslate BLOBDirectPut( [<nOldPointer>], <xBlob> )                  => ;
  35.                                                                           ;
  36.             dbInfo( DBI_BLOB_DIRECT_PUT, { <nOldPointer>, <xBlob> } )
  37.  
  38. #xtranslate BLOBGet( <nFieldNo> [, <nStart> [, <nCount>]] )            => ;
  39.                                                                           ;
  40.             dbFieldInfo( DBS_BLOB_GET, <nFieldNo>, { <nStart>, <nCount> } )
  41.  
  42. #xtranslate BLOBRootGet()                                              => ;
  43.                                                                           ;
  44.             dbInfo( DBI_BLOB_ROOT_GET )
  45.  
  46. #xtranslate BLOBRootLock()                                             => ;
  47.                                                                           ;
  48.             dbInfo( DBI_BLOB_ROOT_LOCK )
  49.  
  50. #xtranslate BLOBRootPut( <xBlob> )                                     => ;
  51.                                                                           ;
  52.             dbInfo( DBI_BLOB_ROOT_PUT, <xBlob> )
  53.  
  54. #xtranslate BLOBRootUnlock()                                           => ;
  55.                                                                           ;
  56.             dbInfo( DBI_BLOB_ROOT_UNLOCK )
  57.  
  58. #xtranslate BLOBExport( <nFieldNo>, <cTargetFile> [, <nMode>] )        => ;
  59.                                                                           ;
  60.             dbFileGet( <nFieldNo>, <cTargetFile>, <nMode> )
  61.  
  62. #xtranslate BLOBImport( <nFieldNo>, <cSourceFile> )                    => ;
  63.                                                                           ;
  64.             dbFilePut( <nFieldNo>, <cSourceFile> )
  65.  
  66. #xtranslate BLOBRootDelete()                                           => ;
  67.                                                                           ;
  68.             BLOBRootPut( "" )
  69.  
  70. #endif
  71.  
  72. // eof: BLOB.CH
  73.