|
|
| version 1.3, 2025/03/09 19:14:25 | version 1.6, 2025/04/01 20:11:46 |
|---|---|
| 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.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 | * Revision 1.3 2025/03/09 19:14:25 snw |
| * First phase of REUSE compliance and header reformat | * First phase of REUSE compliance and header reformat |
| * | * |
| Line 42 | Line 51 |
| #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 78 | Line 86 |
| #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 OBJ_LOCK 0 | #define OBJ_LOCK 0 |
| #define OBJ_ZALLOC 1 | #define OBJ_ZALLOC 1 |
| Line 88 | Line 99 |
| #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 116 void fm_sig_init (void); | Line 128 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]; |