/* WIDE AREA INFORMATION SERVER SOFTWARE:
   No guarantees or restrictions.  See the readme file for the full standard
   disclaimer.

   This is part of the shell user-interface for the WAIS software.  Do with it
   as you please.

   Version 0.82
   Tue Apr 30 1991

   jonathan@Think.COM

*/

#ifndef _H_WAIS
#define _H_WAIS

/* usefull definitions */

#define MAX_QUERY_SIZE 10000
#define STRINGSIZE	256

#include <ctype.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>

/* from the IR directory */

#include <cutil.h>
#include <irdirent.h>
#include <ui.h>
#include <irfileio.h>

/* for this application */

#include "list.h"
#include "source.h"
#include "document.h"
#include "text.h"
#include "qread.h"
#include "util.h"
#include "question.h"

#ifdef MAIN
#define ext
#else
#define ext extern
#endif

#define NUMQLINES 3
#define NUMSLINES 3
#define NUMRLINES 6

ext int numtosave;

ext int NumQuestions;

ext Question the_Question;

ext SList Sources;
ext int NumSources;

ext int maxDocs;

#endif



