ftp.nice.ch/pub/next/unix/mail/smail3.1.20.s.tar.gz#/smail3.1.20/src/routers/pathalias.h

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

/* @(#)src/routers/pathalias.h	1.2 24 Oct 1990 05:24:40 */

/*
 *    Copyright (C) 1987, 1988 Ronald S. Karr and Landon Curt Noll
 * 
 * See the file COPYING, distributed with smail, for restriction
 * and warranty information.
 */

/*
 * pathalias.h:
 *	interface file for pathalias driver.
 */

/* macros local to the pathalias driver */

/* flag attributes */
#define PA_REOPEN	0x00010000	/* always reopen database to search */
#define PA_OPTIONAL	0x00020000	/* the paths file is optional */
#define PA_TRYAGAIN	0x00040000	/* defer address on open failure */
#define PA_CACHEOPEN	0x00080000	/* cache open file descriptor */
#define PA_OPENFAIL	0x00100000	/* internal - open got FILE_FAIL */
#define PA_OPENAGAIN	0x00200000	/* internal - open got FILE_AGAIN */
#define PA_OPENNOMATCH	0x00400000	/* internal - open got FILE_NOMATCH */

/* private information stored per router file entry */
struct pathalias_private {
    char *file;				/* file attribute */
    char *proto;			/* protocol name */
    char *domain;			/* optional domain names */
    char *required;			/* required domain names */
    int retries;			/* max count of retries */
    int interval;			/* sleep interval between retries */
    char *database;			/* internal - open database */
    char *error_text;			/* internal - error text from open */
};

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