home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / db02_src.zip / dbstr.h < prev    next >
C/C++ Source or Header  |  1993-11-05  |  2KB  |  63 lines

  1. /**************************************************************************
  2.  * Source Id :
  3.  *
  4.  * $Id: dbstr.h,v 1.4 1993/09/26 06:40:32 kevinl Exp $
  5.  *-------------------------------------------------------------------------
  6.  * Project Notes :
  7.  *
  8.  *  Diamond Base
  9.  *  ============
  10.  *      A solid database implementation, spurred on by the continuing
  11.  *  Metal (Lead) Base saga.
  12.  *
  13.  *  Project Team :
  14.  *        A. Davison
  15.  *        K. Lentin
  16.  *        D. Platt
  17.  *
  18.  *    Project Commenced : 05-02-1993
  19.  *
  20.  *-------------------------------------------------------------------------
  21.  *  Module Notes :
  22.  *
  23.  *  dbstr.h: common types etc needed for variable length string support
  24.  *
  25.  *
  26.  *  Original Author : Kev
  27.  *
  28.  *-------------------------------------------------------------------------
  29.  * Revision History:
  30.  *
  31.  * $Log: dbstr.h,v $
  32.  * Revision 1.4  1993/09/26  06:40:32  kevinl
  33.  * Added dbData support
  34.  *
  35.  * Revision 1.3  1993/07/11  09:42:05  kevinl
  36.  * Changed String to dbString
  37.  *
  38.  * Revision 1.2  1993/06/23  05:21:22  kevinl
  39.  * Mallocs are now in angular brackets
  40.  *
  41.  * Revision 1.1  1993/06/20  13:49:57  kevinl
  42.  * Initial revision
  43.  *
  44.  **************************************************************************/
  45.  
  46. #ifndef _DBSTR_H
  47. #define _DBSTR_H
  48.  
  49. #include <mystring.h>
  50.  
  51. // This struct is used in a relation and dbobj to find the relevant
  52. // Strings and longs. 
  53.  
  54. struct _db_strStruct
  55. {
  56.     long*        theLong;
  57.     dbData*        theString;
  58.     _db_strStruct(void) {}
  59.     _db_strStruct(long* tL, dbData* tS) { theLong = tL; theString = tS; }
  60. };
  61.  
  62. #endif
  63.