home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c160 / 1.ddi / SOURCE / F4RECORD.C < prev    next >
Encoding:
C/C++ Source or Header  |  1990-06-22  |  506 b   |  27 lines

  1.  
  2. /* f4record.c (c)Copyright Sequiter Software Inc., 1987-1990.  All rights reserved. */
  3.  
  4. #include "d4base.h"
  5.  
  6. extern  BASE  *v4base ;
  7. extern  int    v4cur_base ;
  8.  
  9.  
  10. /* f4record
  11.  
  12.    Return a pointer to the start of the database buffer   
  13. */
  14.  
  15. void *  f4record()
  16. {
  17.    if ( v4cur_base < 0 )  return ( (void *) 0 ) ;
  18.    return ( (void *) v4base[v4cur_base].buffer ) ;
  19. }
  20.  
  21. int  f4record_width()
  22. {
  23.    if ( v4cur_base < 0 )  return ( -1 ) ;
  24.    return ( v4base[v4cur_base].buffer_len ) ;
  25. }
  26.  
  27.