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

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

/* @(#)src/transports/appendfile.h	1.3 24 Oct 1990 05:25:47 */

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

/*
 * appendfile.h:
 *	interface file for transport driver file.c.
 */

/* structure for pipe driver's private data */
struct appendfile_private {
    char *file;				/* form for the filename */
    char *dir;				/* directory for queueing */
    char *user;				/* run as this user */
    char *group;			/* run as this group */
    char *prefix;			/* string prefixed to message */
    char *suffix;			/* string appended to message */
    int mode;				/* mode for creation */
};

/* transport flags private to pipe.c */
#define APPEND_AS_USER	    0x00010000	/* use uid/gid from addr structure */
#define APPEND_EXPAND_USER  0x00020000	/* expand username before file name */
#define APPEND_CHECK_PATH   0x00040000	/* check path accessibility */
#define APPEND_CHECK_USER   0x00080000	/* make sure $user is safe */

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