version 1.5, 2025/03/24 04:05:36
|
version 1.10, 2025/04/28 19:38:55
|
Line 24
|
Line 24
|
* along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
* along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
* |
* |
* $Log$ |
* $Log$ |
|
* Revision 1.10 2025/04/28 19:38:55 snw |
|
* Add trace mode |
|
* |
|
* Revision 1.9 2025/04/13 04:22:43 snw |
|
* Fix snprintf calls |
|
* |
|
* Revision 1.8 2025/04/10 01:24:38 snw |
|
* Remove C++ style comments |
|
* |
|
* Revision 1.7 2025/04/04 19:43:18 snw |
|
* Switch to using environment catalog to determine user and group for environment, and remove -u and -g flags from freem |
|
* |
|
* Revision 1.6 2025/04/02 03:02:42 snw |
|
* Stop requiring users to pass -e to fmadm when -u or -g are passed |
|
* |
* Revision 1.5 2025/03/24 04:05:36 snw |
* Revision 1.5 2025/03/24 04:05:36 snw |
* Replace crlf with frm_crlf to avoid symbol conflict with readline on OS/2 |
* Replace crlf with frm_crlf to avoid symbol conflict with readline on OS/2 |
* |
* |
Line 244 extern int noclear;
|
Line 259 extern int noclear;
|
extern int standard; /* 1=standard only, */ |
extern int standard; /* 1=standard only, */ |
extern int quiet_mode; /* quiet mode */ |
extern int quiet_mode; /* quiet mode */ |
extern char config_file[4096]; /* path to configuration file */ |
extern char config_file[4096]; /* path to configuration file */ |
|
extern char env_config_file[4096]; /* path to environment config file */ |
extern char shm_env[255]; /* shared memory environment */ |
extern char shm_env[255]; /* shared memory environment */ |
/* 0=non standard features enabled */ |
/* 0=non standard features enabled */ |
extern short ierr; |
extern short ierr; |
Line 323 extern char oucpath[PATHLEN]; /* OPEN/U
|
Line 339 extern char oucpath[PATHLEN]; /* OPEN/U
|
extern char rgafile[PATHLEN]; /* routine/global access protocol file */ |
extern char rgafile[PATHLEN]; /* routine/global access protocol file */ |
extern char zargdefname[PATHLEN]; /* default varname for Zcommands */ |
extern char zargdefname[PATHLEN]; /* default varname for Zcommands */ |
extern FILE *rgaccess; /* dto. filedes */ |
extern FILE *rgaccess; /* dto. filedes */ |
extern char locktab[PATHLEN]; /* file with LOCKs */ |
|
extern char zallotab[PATHLEN]; /* file with ZALLOCATE */ |
|
extern char hcpyfile[PATHLEN]; /* hardcopy file */ |
|
extern char jourfile[PATHLEN]; /* journal file */ |
|
extern FILE *jouraccess; /* dto. filedes */ |
extern FILE *jouraccess; /* dto. filedes */ |
|
|
extern char curdir[PATHLEN]; /* current directory */ |
extern char curdir[PATHLEN]; /* current directory */ |
Line 382 extern short direct_mode;
|
Line 394 extern short direct_mode;
|
extern short loadsw; /* flag to avoid redundant loads */ |
extern short loadsw; /* flag to avoid redundant loads */ |
extern short extr_types[NESTLEVLS + 1]; /* return types of extrinsic functions */ |
extern short extr_types[NESTLEVLS + 1]; /* return types of extrinsic functions */ |
|
|
extern char destructors[10][50]; |
extern char destructors[10][OBJ_DSTRSIZE]; |
extern int destructor_ct; |
extern int destructor_ct; |
extern char private_keys[MAX_PRIVATE_KEYS][255]; |
extern char private_keys[MAX_PRIVATE_KEYS][255]; |
|
|
Line 401 extern short timeoutms;
|
Line 413 extern short timeoutms;
|
extern char tmp4[80]; |
extern char tmp4[80]; |
extern short param; /* parameter count */ |
extern short param; /* parameter count */ |
extern short paramx; /* current parameter */ |
extern short paramx; /* current parameter */ |
//extern char *calloc (); |
|
extern short level; /* level count */ |
extern short level; /* level count */ |
extern short nestlt[NESTLEVLS + 1]; /* stack $T / stack levelcount */ |
extern short nestlt[NESTLEVLS + 1]; /* stack $T / stack levelcount */ |
extern pid_t pid; /* $J = process ID */ |
extern pid_t pid; /* $J = process ID */ |
Line 420 extern int strict_mode;
|
Line 431 extern int strict_mode;
|
extern short first_process; |
extern short first_process; |
extern size_t shm_init_size; |
extern size_t shm_init_size; |
extern short inrpt_after_async; |
extern short inrpt_after_async; |
|
extern int trace_mode; |
//#ifndef OLDUNIX |
|
// extern struct sigaction act; /* signals stuff */ |
|
//#endif /* OLDUNIX */ |
|
|
|
/* Macros */ |
/* Macros */ |
/* Create a new variable of type (datatype) with space for qty instances */ |
/* Create a new variable of type (datatype) with space for qty instances */ |