|
|
| version 1.1, 2025/01/19 02:04:04 | version 1.7, 2025/04/02 02:16:27 |
|---|---|
| Line 1 | Line 1 |
| /* | /* |
| * * | * $Id$ |
| * * * | |
| * * * | |
| * *************** | |
| * * * * * | |
| * * MUMPS * | |
| * * * * * | |
| * *************** | |
| * * * | |
| * * * | |
| * * | |
| * | |
| * fmadm.h | |
| * FreeM Administrative Tool | * FreeM Administrative Tool |
| * | * |
| * | * |
| * Author: Serena Willis <jpw@coherent-logic.com> | * Author: Serena Willis <snw@coherent-logic.com> |
| * Copyright (C) 1998 MUG Deutschland | * Copyright (C) 1998 MUG Deutschland |
| * Copyright (C) 2020 Coherent Logic Development LLC | * Copyright (C) 2020, 2025 Coherent Logic Development LLC |
| * | * |
| * | * |
| * This file is part of FreeM. | * This file is part of FreeM. |
| Line 35 | Line 23 |
| * You should have received a copy of the GNU Affero Public License | * You should have received a copy of the GNU Affero Public License |
| * along with FreeM. If not, see <https://www.gnu.org/licenses/>. | * along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
| * | * |
| * $Log$ | |
| * Revision 1.7 2025/04/02 02:16:27 snw | |
| * Add fmadm status environment command and move journals to a better location | |
| * | |
| * Revision 1.6 2025/04/01 20:11:46 snw | |
| * Further work on fmadm | |
| * | |
| * Revision 1.5 2025/03/22 18:43:54 snw | |
| * Make STRLEN 255 chars and add BIGSTR macro for larger buffers | |
| * | |
| * Revision 1.4 2025/03/15 03:19:34 snw | |
| * Fix broken build and update to 0.62.1 | |
| * | |
| * Revision 1.3 2025/03/09 19:14:25 snw | |
| * First phase of REUSE compliance and header reformat | |
| * | |
| * | |
| * SPDX-FileCopyrightText: (C) 2025 Coherent Logic Development LLC | |
| * SPDX-License-Identifier: AGPL-3.0-or-later | |
| **/ | **/ |
| #if !defined(_FMADM_H) | #if !defined(_FMADM_H) |
| Line 47 | Line 54 |
| #include "fma_locks.h" | #include "fma_locks.h" |
| #include "fma_routines.h" | #include "fma_routines.h" |
| #include "fma_jobs.h" | #include "fma_jobs.h" |
| #include "fma_gedit.h" | |
| #define FMA_MAXARGS 30 | #define FMA_MAXARGS 30 |
| Line 83 | Line 89 |
| #define ACT_RESTORE 10 | #define ACT_RESTORE 10 |
| #define ACT_MIGRATE 11 | #define ACT_MIGRATE 11 |
| #define ACT_EDIT 12 | #define ACT_EDIT 12 |
| #define ACT_START 13 | |
| #define ACT_STOP 14 | |
| #define ACT_RESTART 15 | |
| #define ACT_STATUS 16 | |
| #define OBJ_LOCK 0 | #define OBJ_LOCK 0 |
| #define OBJ_ZALLOC 1 | #define OBJ_ZALLOC 1 |
| Line 93 | Line 103 |
| #define OBJ_HARDCOPY 6 | #define OBJ_HARDCOPY 6 |
| #define OBJ_RGAPROTOCOL 7 | #define OBJ_RGAPROTOCOL 7 |
| #define OBJ_JOB 8 | #define OBJ_JOB 8 |
| #define OBJ_DAEMON 9 | |
| #define UNSIGN(A) ((A)&0377) | #define UNSIGN(A) ((A)&0377) |
| Line 121 void fm_sig_init (void); | Line 132 void fm_sig_init (void); |
| void fm_on_sigint (void); | void fm_on_sigint (void); |
| void fm_on_sigterm (void); | void fm_on_sigterm (void); |
| extern char fma_environment[STRLEN]; | |
| extern char fma_namespace[STRLEN]; | extern char fma_namespace[STRLEN]; |
| extern char fma_locktab[STRLEN]; | extern char fma_routine_path[PATHLEN]; |
| extern char fma_routine_path[STRLEN]; | extern char fma_global_path[PATHLEN]; |
| extern char fma_global_path[STRLEN]; | extern char fma_journal_path[PATHLEN]; |
| extern char fma_journal_path[STRLEN]; | extern char fma_pct_global_path[PATHLEN]; |
| extern char fma_pct_global_path[STRLEN]; | extern char fma_pct_routine_path[PATHLEN]; |
| extern char fma_pct_routine_path[STRLEN]; | |
| extern char fma_journal_cut_threshold[STRLEN]; | extern char fma_journal_cut_threshold[STRLEN]; |
| extern char fma_locktab[PATHLEN]; | |
| extern char gloplib[PATHLEN]; | extern char gloplib[PATHLEN]; |
| extern char glopath[PATHLEN]; | extern char glopath[PATHLEN]; |