home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / info-service / gopher / Unix / gopher+1.2b4 / gopherd / wais.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-02-11  |  2.0 KB  |  100 lines

  1. /********************************************************************
  2.  * lindner
  3.  * 3.1.1.1
  4.  * 1993/02/11 18:02:53
  5.  * /home/mudhoney/GopherSrc/CVS/gopher+/gopherd/wais.h,v
  6.  * $Status: $
  7.  *
  8.  * Paul Lindner, University of Minnesota CIS.
  9.  *
  10.  * Copyright 1991, 1992 by the Regents of the University of Minnesota
  11.  * see the file "Copyright" in the distribution for conditions of use.
  12.  *********************************************************************
  13.  * MODULE: wais.h
  14.  * Header file for Wais stuff.
  15.  *********************************************************************
  16.  * Revision History:
  17.  * wais.h,v
  18.  * Revision 3.1.1.1  1993/02/11  18:02:53  lindner
  19.  * Gopher+1.2beta release
  20.  *
  21.  * Revision 1.1  1992/12/10  23:13:27  lindner
  22.  * gopher 1.1 release
  23.  *
  24.  *
  25.  *********************************************************************/
  26.  
  27.  
  28.  
  29.  
  30. /* WIDE AREA INFORMATION SERVER SOFTWARE:
  31.    No guarantees or restrictions.  See the readme file for the full standard
  32.    disclaimer.
  33.  
  34.    This is part of the shell user-interface for the WAIS software.  Do with it
  35.    as you please.
  36.  
  37.    jonathan@Think.COM
  38.  
  39.  * wais.h,v
  40.  * Revision 3.1.1.1  1993/02/11  18:02:53  lindner
  41.  * Gopher+1.2beta release
  42.  *
  43.  * Revision 1.1  1992/12/10  23:13:27  lindner
  44.  * gopher 1.1 release
  45.  *
  46.  * Revision 1.6  92/02/15  19:50:24  jonathan
  47.  * Removed old cruft.  Added $Log for RCS
  48.  * 
  49. */
  50.  
  51. #ifndef _H_WAIS
  52. #define _H_WAIS
  53.  
  54. /* usefull definitions */
  55.  
  56. #define STRINGSIZE    256
  57.  
  58. #include <ctype.h>
  59. #include <sys/types.h>
  60. #include <sys/stat.h>
  61.  
  62. /* from the IR directory */
  63.  
  64. #include <cutil.h>
  65. /*#include <irdirent.h>*/
  66. #include <ui.h>
  67. #include <irfileio.h>
  68. #include <sockets.h>
  69. FILE *connect_to_server _AP((char* host_name,long port));
  70.  
  71. /* for this application */
  72.  
  73. #include "../ui/list.h"
  74. #include "source.h"
  75. #include "document.h"
  76. #include "../ui/util.h"
  77. #include "question.h"
  78. #define CHARS_PER_PAGE 2000
  79.  
  80. #ifdef MAIN
  81. #define ext
  82. #else
  83. #define ext extern
  84. #endif
  85.  
  86. ext char* command_name;
  87.  
  88. ext int numtosave;
  89.  
  90. ext int NumQuestions;
  91.  
  92. ext Question the_Question;
  93.  
  94. ext SList Sources;
  95. ext int NumSources;
  96.  
  97. ext int maxDocs;
  98.  
  99. #endif
  100.