rje.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
#ifndef _RJE_H
#define _RJE_H
#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.4.1.1 */
#ifdef __cplusplus
extern "C" {
#endif
#define QNICE 0
#define DEVFD 0 /* KMC device file descriptor */
#define NAMESZ 8
struct joblog {
unsigned j_uid; /* User ID of owner */
int j_lvl; /* Message level */
long j_cnt; /* Number of "cards" */
};
/* joblog header info */
struct loghdr {
int h_pgrp; /* Process group Id */
};
#define LBUFMAX 100
#define MAXLNS 6
struct lines {
char *l_host; /* RJE host machine */
char *l_sys; /* This system */
char *l_dir; /* home directory */
char *l_prefix; /* rje prefix */
char *l_dev; /* device for transfer */
char *l_peri; /* Peripherals field */
char *l_parm; /* Parameters field */
};
struct dsplog {
int d_type; /* Type of record */
union {
struct { /* record from xmit */
long d_cnt; /* no. of cards sent */
unsigned d_uid; /* who sent the file */
int d_lvl; /* message level */
int d_rdr; /* reader sent from (0-6) */
} x;
struct { /* record from recv */
long d_cnt; /* no. of records */
int d_trunc; /* file truncation flag */
} r;
} d_un;
};
struct sque {
long sq_min; /* Minimum file system space */
};
#ifdef __cplusplus
}
#endif
#endif /* _RJE_H */