home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / visbuild / rapsheet / cppwv23 / querydb.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-11  |  2.4 KB  |  46 lines

  1. #ifndef _QUERYDB_
  2. #define _QUERYDB_
  3. /******************************************************************************
  4. * .FILE:        querydb.hpp                                                   *
  5. *                                                                             *
  6. * .DESCRIPTION: Header file for data query functions                          *
  7. *                                                                             *
  8. * .CLASSES:                                                                   *
  9. *                                                                             *
  10. * .COPYRIGHT:                                                                 *
  11. *    Licensed Material - Program-Property of IBM                              *
  12. *    (C) Copyright IBM Corp. 1992, 1996 - All Rights Reserved                 *
  13. *                                                                             *
  14. * .DISCLAIMER:                                                                *
  15. *   The following [enclosed] code is sample code created by IBM               *
  16. *   Corporation.  This sample code is not part of any standard IBM product    *
  17. *   and is provided to you solely for the purpose of assisting you in the     *
  18. *   development of your applications.  The code is provided 'AS IS',          *
  19. *   without warranty of any kind.  IBM shall not be liable for any damages    *
  20. *   arising out of your use of the sample code, even if they have been        *
  21. *   advised of the possibility of such damages.                               *
  22. *                                                                             *
  23. * .NOTE: WE RECOMMEND USING A FIXED SPACE FONT TO LOOK AT THE SOURCE          *
  24. *                                                                             *
  25. ******************************************************************************/
  26. #include "ivbsamps.h"
  27. #include <istring.hpp>
  28. #include <iseq.h>
  29.  
  30. #define BLANK ' '
  31. #define OBJID_LEN 5
  32.  
  33. #define SUSPECT_APPNAME  "suspects"
  34. #define SUSPECT_INI      "suspects.ini"
  35. #define ALIAS_APPNAME    "aliases"
  36. #define ALIAS_INI        "aliases.ini"
  37. #define ARREST_APPNAME   "arrests"
  38. #define ARREST_INI       "arrests.ini"
  39.  
  40. IResultRecord IVBSAMP_IMPORT getAllSuspects();
  41. IResultRecord IVBSAMP_IMPORT getAllAliases(unsigned long bookNumber);
  42. IResultRecord IVBSAMP_IMPORT getAllArrests(unsigned long bookNumber);
  43. void error(const char *message);
  44.  
  45. #endif
  46.