|
|
1.1 ! root 1: /* SCFG.H */ ! 2: ! 3: /* Developed 1990-1997 by Rob Swindell; PO Box 501, Yorba Linda, CA 92885 */ ! 4: ! 5: #include "uifc.h" ! 6: #include <dos.h> ! 7: #include <dir.h> ! 8: #include <stdio.h> ! 9: #include <stdlib.h> ! 10: ! 11: #if defined(__DPMI32__) || defined(__OS2__) ! 12: #define far ! 13: #define huge ! 14: #endif ! 15: ! 16: #include "sbbs.h" ! 17: #include "scfglib.h" ! 18: ! 19: /**********/ ! 20: /* Macros */ ! 21: /**********/ ! 22: ! 23: /*************/ ! 24: /* Constants */ ! 25: /*************/ ! 26: ! 27: #define SUB_HDRMOD (1L<<31) /* Modified sub-board header info */ ! 28: ! 29: /************/ ! 30: /* Typedefs */ ! 31: /************/ ! 32: ! 33: /********************/ ! 34: /* Global Variables */ ! 35: /********************/ ! 36: extern long freedosmem; ! 37: extern char item; ! 38: extern char **opt; ! 39: extern char tmp[256]; ! 40: extern char *nulstr; ! 41: extern char **mdm_type; ! 42: extern char **mdm_file; ! 43: extern int mdm_types; ! 44: extern char *invalid_code,*num_flags; ! 45: extern int backup_level; ! 46: ! 47: extern read_cfg_text_t txt; ! 48: ! 49: /***********************/ ! 50: /* Function Prototypes */ ! 51: /***********************/ ! 52: ! 53: int save_changes(int mode); ! 54: void node_menu(); ! 55: void node_cfg(); ! 56: void results(int i); ! 57: void sys_cfg(); ! 58: void net_cfg(); ! 59: void msgs_cfg(); ! 60: void sub_cfg(uint grpnum); ! 61: void xfer_cfg(); ! 62: void libs_cfg(); ! 63: void dir_cfg(uint libnum); ! 64: void xprogs_cfg(); ! 65: void fevents_cfg(); ! 66: void tevents_cfg(); ! 67: void xtrn_cfg(); ! 68: void swap_cfg(); ! 69: void xtrnsec_cfg(); ! 70: void page_cfg(); ! 71: void xedit_cfg(); ! 72: void txt_cfg(); ! 73: void shell_cfg(); ! 74: void read_node_cfg(read_cfg_text_t txt); ! 75: void write_node_cfg(); ! 76: void write_main_cfg(); ! 77: void write_msgs_cfg(); ! 78: void write_file_cfg(); ! 79: void write_xtrn_cfg(); ! 80: void write_chat_cfg(); ! 81: void init_mdms(); ! 82: void mdm_cfg(int mdmnum); ! 83: int export_mdm(char *fname); ! 84: char code_ok(char *str); ! 85: int bits(long l); ! 86: char oneflag(long l); ! 87: void getar(char *desc, char *ar); ! 88: char *ultoac(ulong l,char *str); ! 89: FILE *fnopen(int *file, char *str, int access);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.