ftp.nice.ch/pub/next/unix/text/Webster.a5.s.tar.gz#/Webster/Daemon/config.h

This is config.h in view mode; [Download] [Up]

/* -*- c -*- */

/*

    Webster Access, a program to use NeXT online Webster dictionary.
    Copyright (C) 1994 Benoit Grange, ben@fizz.fdn.org

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

*/

extern int tcpPort;

extern const char* dictionaryFileName;
extern const char* thesaurusFileName;
extern const char* codebookFileName;

extern const char* greetingText;
extern int logFacility;

// List of allowed machines
typedef struct allow {
  struct allow *next;
  unsigned long addr, mask;
  char* domain;
} allow;

extern allow *allowedList;

enum requirement {
  none = 0,
  hostname = 1,
};

extern enum requirement requirements;

extern int timeout, debug;

extern void readConfig(const char* filename);

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.