201 lines
6.0 KiB
C
201 lines
6.0 KiB
C
|
#ifndef h_tunables
|
||
|
#define h_tunables
|
||
|
/******************************************************************************
|
||
|
*
|
||
|
* UniVerse tunable paramaters
|
||
|
*
|
||
|
* Module %M% Version %I% Date %H%
|
||
|
*
|
||
|
* (c) Copyright 1998 Ardent Software Inc. - All Rights Reserved
|
||
|
* This is unpublished proprietary source code of Ardent Software Inc.
|
||
|
* The copyright notice above does not evidence any actual or intented
|
||
|
* publication of such source code.
|
||
|
*
|
||
|
*******************************************************************************
|
||
|
*
|
||
|
* Maintenence log - insert most recent change descriptions at top
|
||
|
*
|
||
|
* Date.... GTAR# WHO Description.......................................
|
||
|
* 06/22/99 24674 KAM Add PIOPENDEFAULT for different default settings
|
||
|
* 04/29/99 24819 CSM Add TSTIMEOUT tunable for telnet client licensing
|
||
|
* 10/14/98 23801 SAP Change copyrights.
|
||
|
* 10/02/98 23765 CSM Add licensing info to tunables structure
|
||
|
* 09/21/98 23677 LPC Remove duplicate entry from tunable table
|
||
|
* 09/15/98 23677 LPC Added 64BIT_FILES tunable
|
||
|
* 04/01/98 22395 KAM Added RECORDCACHE
|
||
|
* 03/18/98 17987 KAM Added MAXERRLOGENT
|
||
|
* 05/29/97 20606 LAG Added UDRMODE and UDRBLKS to UVTUNE for replication
|
||
|
* 09/03/96 19171 DJD Changes BSHDISPATCH to SHDISPATCH and BAT to DOS.
|
||
|
* 05/20/96 18477 DGC Port PACS to Release 9 (FiiRESTORM III)
|
||
|
* 05/12/96 18403 DTM Added information for deadlock detection
|
||
|
* 04/12/96 18195 KAM Add THDR512 tunable
|
||
|
* 04/12/96 18194 KAM Add MODFPTRS tunable
|
||
|
* 03/07/96 18118 EAP Added NLSLCMODE, NLSDEFUSERLC and NLSDEFSRVLC
|
||
|
* Changed NLSDEFICIMAP to NLSDEFSRVMAP
|
||
|
* 03/01/96 18074 CSM Add LOGSYCNT and LOGSYINT tunables
|
||
|
* 02/02/96 17949 SHJ Add OCVDATE tunable
|
||
|
* 11/08/95 17619 SHJ Add LAYERSEL tunable
|
||
|
* 11/03/95 17597 SHJ Add PROCRCMD and PROCPRMT tunables
|
||
|
* 10/07/94 17379 RM Increased UVCONFIGLEN to fix broken make
|
||
|
* 26/09/95 17379 JJV Added CSHDISPATCH,BSHDISPATCH,BATDISPATCH tunables.
|
||
|
* 09/25/95 17185 SHJ Add ALLOWNFS tunable support
|
||
|
* 08/23/95 17242 AGM Replace COMPUTER==WINNT test by MSWIN test
|
||
|
* 08/03/95 17090 NDP Rename 'on' element of nls struct to 'mode'.
|
||
|
* 07/17/95 16713 AGM No spool directory or ulimit on WINNT
|
||
|
* 02/28/95 14643 GMH Add PROCACMD tunable.
|
||
|
* 02/27/95 15741 EAP Added NLSOSMAP tuneable.
|
||
|
* 11/02/94 15736 JSW Add NLS tuneables.
|
||
|
* 08/24/94 14536 CSM added logging tuneables LOGBLNUM and LOGBLSZ
|
||
|
* 06/19/94 14240 PVW Add MAXRLOCK ISOMODE and PKRJUST
|
||
|
* 03/01/94 13167 JWT Integrate Pyramid O_SYNC change
|
||
|
* 03/01/94 13165 TMC Broke package installation
|
||
|
* 02/14/94 12973 JWF add PICKNULL tunable for oconv()
|
||
|
* 09/07/93 12120 TJR PACKAGES needs to refect the current number
|
||
|
* 04/20/93 10379 PVW add BLKMAX tunable for uvbackup/uvrestore
|
||
|
* 03/20/92 8956 TMC add UVSYNC tunable for sync()
|
||
|
* 05/22/91 8376 JWT new authorization
|
||
|
* 02/08/91 7925 JWT allow any user to look at config data
|
||
|
* 06/13/90 4944 TMC Networking Phase II
|
||
|
* 05/04/90 5192 JWT support separate package authorization
|
||
|
* 11/18/89 6457 JWT extend tunables definitions
|
||
|
* 08/24/89 6072 JWT tunable disk locking
|
||
|
* 08/21/89 6059 JWT allow default ulimit to be tunable
|
||
|
* 03/03/89 5751 JWT Implement onsite tunable parameters
|
||
|
*
|
||
|
*****************************************************************************/
|
||
|
|
||
|
#define MAX_PACKAGES 32
|
||
|
#define MAX_PACKNAME 16
|
||
|
#define UVCONFIGLEN 4096
|
||
|
#define NLSMAPNAMELEN 32
|
||
|
#define SHDISPATCHNAMELEN 128
|
||
|
struct package
|
||
|
{ int user_lim;
|
||
|
int def_user_lim;
|
||
|
char def_exp_pk[9];
|
||
|
char chk_log[9];
|
||
|
char exp_pk[9];
|
||
|
char chk_exp[9];
|
||
|
char pkg_name[MAX_PACKNAME];
|
||
|
};
|
||
|
|
||
|
struct nls
|
||
|
{ int mode;
|
||
|
int readelse;
|
||
|
int writeelse;
|
||
|
char deffilemap[NLSMAPNAMELEN];
|
||
|
char defdirmap[NLSMAPNAMELEN];
|
||
|
char newfilemap[NLSMAPNAMELEN];
|
||
|
char newdirmap[NLSMAPNAMELEN];
|
||
|
char defptrmap[NLSMAPNAMELEN];
|
||
|
char deftermmap[NLSMAPNAMELEN];
|
||
|
char defdevmap[NLSMAPNAMELEN];
|
||
|
char defgcimap[NLSMAPNAMELEN];
|
||
|
char defsrvmap[NLSMAPNAMELEN];
|
||
|
char defseqmap[NLSMAPNAMELEN];
|
||
|
char osmap[NLSMAPNAMELEN];
|
||
|
int lcmode;
|
||
|
char defuserlc[NLSMAPNAMELEN];
|
||
|
char defsrvlc[NLSMAPNAMELEN];
|
||
|
};
|
||
|
|
||
|
struct uvtune
|
||
|
{ int serial_num;
|
||
|
int max_logins;
|
||
|
BITMAP spares:(8*sizeof(BITMAP)-2), /* Flags */
|
||
|
cln_in_prog:1, /* License cleanup in progress */
|
||
|
dev_lic:1; /* device licensing is ON */
|
||
|
int mfiles;
|
||
|
int t30files;
|
||
|
int openchk;
|
||
|
int widezero;
|
||
|
int minscr;
|
||
|
int maxscr;
|
||
|
int sizescr;
|
||
|
int qdepth;
|
||
|
int histstk;
|
||
|
int qsmaxN;
|
||
|
int qsmaxM;
|
||
|
int qsmaxD;
|
||
|
int qsmaxK;
|
||
|
int txmode;
|
||
|
int txmem;
|
||
|
int optmem;
|
||
|
int selbuf;
|
||
|
int fsemnum;
|
||
|
int gsemnum;
|
||
|
int psemnum;
|
||
|
int fltabsiz;
|
||
|
int gltabsiz;
|
||
|
int rltabsiz;
|
||
|
int rlowner;
|
||
|
int flwaiters;
|
||
|
int rlwaiters;
|
||
|
int paktime;
|
||
|
int nettime;
|
||
|
int qbreak;
|
||
|
int vdivdef;
|
||
|
int uvsync;
|
||
|
int blkmax;
|
||
|
int picknull;
|
||
|
int syncalloc;
|
||
|
int maxrlock;
|
||
|
int isomode;
|
||
|
int pkrjust;
|
||
|
int logblsz;
|
||
|
int logblnum;
|
||
|
#ifndef MSWIN
|
||
|
long uvulimit;
|
||
|
#endif
|
||
|
char serial_chk[9];
|
||
|
char logins_chk[9];
|
||
|
char exp_date[9];
|
||
|
char chk_date[9];
|
||
|
struct package packageinfo[MAX_PACKAGES];
|
||
|
#ifndef MSWIN
|
||
|
char uvspldir[128];
|
||
|
#endif
|
||
|
char uvtmpdir[128];
|
||
|
struct nls NLS;
|
||
|
int procacmd;
|
||
|
int procrcmd;
|
||
|
int procprmt;
|
||
|
int allownfs;
|
||
|
char cshdispatch[SHDISPATCHNAMELEN];
|
||
|
char shdispatch[SHDISPATCHNAMELEN];
|
||
|
char dosdispatch[SHDISPATCHNAMELEN];
|
||
|
int layersel;
|
||
|
int ocvdate;
|
||
|
int logsycnt;
|
||
|
int logsyint;
|
||
|
int modfptrs;
|
||
|
int thdr512;
|
||
|
int udrmode;
|
||
|
int udrblks;
|
||
|
int maxerrlogent;
|
||
|
int recordcache;
|
||
|
int affnmode;
|
||
|
int t64bit_files;
|
||
|
int tstimeout;
|
||
|
int piopendefault;
|
||
|
/* ************************************ */
|
||
|
/* RESERVED SPACE FOR FUTURE TUNABLES. */
|
||
|
/* When adding a new tunable, use the */
|
||
|
/* reserved space from the top down. */
|
||
|
/* If you use the last one, create */
|
||
|
/* reserved space for 10 more tunables. */
|
||
|
/* ************************************ */
|
||
|
int reserved8;
|
||
|
int reserved7;
|
||
|
int reserved6;
|
||
|
int reserved5;
|
||
|
int reserved4;
|
||
|
int reserved3;
|
||
|
int reserved2;
|
||
|
int reserved1;
|
||
|
};
|
||
|
|
||
|
#define UVTUNE struct uvtune
|
||
|
|
||
|
#endif /* end of tunables.h */
|