home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / freeWAIS-sf-1.1 / x / xquestion.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-04  |  1.3 KB  |  61 lines

  1. /* WIDE AREA INFORMATION SERVER SOFTWARE:
  2.    No guarantees or restrictions.  See the readme file for the full standard
  3.    disclaimer.
  4.  
  5.    This is part of the X user-interface for the WAIS software.  Do with it
  6.    as you please.
  7.  
  8.    jonathan@Think.COM
  9. */
  10.  
  11. /* Copyright (c) CNIDR (see ../COPYRIGHT) */
  12.  
  13. /* $Log: xquestion.h,v $
  14.  * Revision 1.2  1994/08/05  07:31:02  pfeifer
  15.  * Release beta 04
  16.  *
  17.  * Revision 1.1  1993/02/16  15:10:18  freewais
  18.  * Initial revision
  19.  *
  20.  * Revision 1.4  92/03/17  14:19:56  jonathan
  21.  * Separated from question.c.
  22.  * 
  23.  */
  24.  
  25. #ifndef _H_XQUESTION
  26. #define _H_XQUESTION
  27.  
  28. #include "question.h"
  29.  
  30. typedef struct QuestionWindow {
  31.   Widget shell;
  32.   Widget keywordwid;
  33.   ScrollList Sources;
  34.   ScrollList RelevantDocuments;
  35.   ScrollList ResultDocuments;
  36.   Widget StatusWindow;
  37.   Widget Textwindow;
  38.   char *textbuffer;
  39. } _QuestionWindow, *QuestionWindow;
  40.  
  41. typedef struct xquestion{
  42.   Question q;
  43.   char **Source_Items;
  44.   char **Relevant_Items;
  45.   char **Result_Items;
  46.   QuestionWindow window;
  47. } _XQuestion, *XQuestion;
  48.  
  49. /* function definitions */
  50.  
  51. XQuestion findQuestionWindow();
  52. QuestionWindow MakeQuestionWindow();
  53. void DeleteQuestionWindow();
  54. char **buildQuestionItemList();
  55. DocList build_response_list();
  56. void SearchWais();
  57. boolean init_for_source();
  58. DocumentID getNextorPrevDoc();
  59.  
  60. #endif
  61.