|
|
| version 1.6, 2025/04/02 03:02:42 | version 1.9, 2025/04/13 04:22:43 |
|---|---|
| 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.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 | * Revision 1.6 2025/04/02 03:02:42 snw |
| * Stop requiring users to pass -e to fmadm when -u or -g are passed | * Stop requiring users to pass -e to fmadm when -u or -g are passed |
| * | * |
| Line 247 extern int noclear; | Line 256 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 381 extern short direct_mode; | Line 391 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 400 extern short timeoutms; | Line 410 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 short first_process; | Line 429 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; |
| //#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 */ |