home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / VISBUILD / RAPSHEET / CPPOV23 / DBQUERY.H < prev    next >
Text File  |  1995-05-25  |  2KB  |  38 lines

  1. #include <rap.h>
  2. /* Function prototypes for data base queries */
  3. #ifndef _c
  4. extern "C" long setupDatabase();
  5. extern "C" long howManySuspects();
  6. extern "C" long howManyAliases(unsigned long bookNumber);
  7. extern "C" long howManyArrests(unsigned long bookNumber);
  8. extern "C" long howManyLastSeens(unsigned long bookNumber);
  9. extern "C" long getNextSuspect(SUSPECT_STRUCT *mysus);
  10. extern "C" long getNextAlias(char * anAliasName, unsigned long bookNumber);
  11. extern "C" long getNextArrest(ARREST_STRUCT *myAS, unsigned long bookNumber);
  12. extern "C" long getNextLastSeen(LAST_SEEN_STRUCT *myAl, unsigned long bookNumber);
  13. extern "C" long openAlC();
  14. extern "C" long openArC();
  15. extern "C" long openLsC();
  16. extern "C" long closeAlC();
  17. extern "C" long closeArC();
  18. extern "C" long closeLsC();
  19. extern "C" long closeDB();
  20. #else
  21. extern long setupDatabase();
  22. extern long howManySuspects();                                      
  23. extern long howManyAliases(unsigned long bookNumber);                                       
  24. extern long howManyArrests(unsigned long bookNumber);                                       
  25. extern long howManyLastSeens(unsigned long bookNumber);                                     
  26. extern long getNextSuspect(SUSPECT_STRUCT *mysus);
  27. extern long getNextAlias(char * anAliasName, unsigned long bookNumber);
  28. extern long getNextArrest(ARREST_STRUCT *myAS, unsigned long bookNumber);
  29. extern long getNextLastSeen(LAST_SEEN_STRUCT *myAl, unsigned long bookNumber);
  30. extern long openAlC();
  31. extern long openArC();
  32. extern long openLsC();
  33. extern long closeAlC();
  34. extern long closeArC();
  35. extern long closeLsC();
  36. extern long closeDB();
  37. #endif
  38.