Added switch for TIC 4d addresses

This commit is contained in:
Michiel Broek 2006-03-23 20:52:44 +00:00
parent a179a29b53
commit 355230e54a
2 changed files with 8 additions and 2 deletions

View File

@ -1701,8 +1701,9 @@ struct _nodes {
unsigned Dir_in_chklck : 1; /* Inbound check lock */ unsigned Dir_in_chklck : 1; /* Inbound check lock */
unsigned Dir_in_waitclr : 1; /* Inbound wait for clear */ unsigned Dir_in_waitclr : 1; /* Inbound wait for clear */
unsigned Dir_in_mklck : 1; /* Inbound create lock */ unsigned Dir_in_mklck : 1; /* Inbound create lock */
unsigned Tic4d : 1; /* 4d addresses in ticfile */
/* FTP transfers */ /* FTP transfers */
char FTP_site[65]; /* Site name or IP address */ char FTP_site[65]; /* Site name or IP address */
char FTP_user[17]; /* Username */ char FTP_user[17]; /* Username */
char FTP_pass[17]; /* Password */ char FTP_pass[17]; /* Password */

View File

@ -498,6 +498,7 @@ void E_Files(void)
mbse_mvprintw(11, 6, "5. Advanced SB"); mbse_mvprintw(11, 6, "5. Advanced SB");
mbse_mvprintw(12, 6, "6. To line in TIC"); mbse_mvprintw(12, 6, "6. To line in TIC");
mbse_mvprintw(13, 6, "7. File forward"); mbse_mvprintw(13, 6, "7. File forward");
mbse_mvprintw(14, 7, "8. TIC 4d address");
for (;;) { for (;;) {
set_color(WHITE, BLACK); set_color(WHITE, BLACK);
@ -508,8 +509,9 @@ void E_Files(void)
show_bool(11,26, nodes.TIC_AdvSB); show_bool(11,26, nodes.TIC_AdvSB);
show_bool(12,26, nodes.TIC_To); show_bool(12,26, nodes.TIC_To);
show_bool(13,26, nodes.FileFwd); show_bool(13,26, nodes.FileFwd);
show_bool(14,26, nodes.Tic4d);
switch(select_menu(7)) { switch(select_menu(8)) {
case 0: return; case 0: return;
case 1: E_STR( 7,26,15,nodes.Fpasswd, "The ^TIC^ files ^password^ for this node") case 1: E_STR( 7,26,15,nodes.Fpasswd, "The ^TIC^ files ^password^ for this node")
case 2: E_BOOL( 8,26, nodes.Message, "Send ^messages^ with files send to this node") case 2: E_BOOL( 8,26, nodes.Message, "Send ^messages^ with files send to this node")
@ -518,6 +520,7 @@ void E_Files(void)
case 5: E_BOOL(11,26, nodes.TIC_AdvSB, "Send ^advanced Seen-By^ lines in ticfiles to this node") case 5: E_BOOL(11,26, nodes.TIC_AdvSB, "Send ^advanced Seen-By^ lines in ticfiles to this node")
case 6: E_BOOL(12,26, nodes.TIC_To, "Send ^To^ line in ticfiles to this node") case 6: E_BOOL(12,26, nodes.TIC_To, "Send ^To^ line in ticfiles to this node")
case 7: E_BOOL(13,26, nodes.FileFwd, "^Forward TIC^ files for this node") case 7: E_BOOL(13,26, nodes.FileFwd, "^Forward TIC^ files for this node")
case 8: E_BOOL(14,26, nodes.Tic4d, "Use ^4d addresses^ in TIC files for this node")
} }
} }
} }
@ -1612,6 +1615,8 @@ int node_doc(FILE *fp, FILE *toc, int page)
add_webtable(wp, (char *)" Advanded SB lines in .TIC", getboolean(nodes.TIC_AdvSB)); add_webtable(wp, (char *)" Advanded SB lines in .TIC", getboolean(nodes.TIC_AdvSB));
fprintf(fp, " Sent To line %s\n", getboolean(nodes.TIC_To)); fprintf(fp, " Sent To line %s\n", getboolean(nodes.TIC_To));
add_webtable(wp, (char *)"Sent 'To' lines in .TIC", getboolean(nodes.TIC_To)); add_webtable(wp, (char *)"Sent 'To' lines in .TIC", getboolean(nodes.TIC_To));
fprintf(fp, " TIC 4d addresses %s\n", getboolean(nodes.Tic4d));
add_webtable(wp, (char *)"Use 4d addresses in .TIC", getboolean(nodes.Tic4d));
fprintf(fp, " Security flags %s\n\n", getflag(nodes.Security.flags, nodes.Security.notflags)); fprintf(fp, " Security flags %s\n\n", getflag(nodes.Security.flags, nodes.Security.notflags));
add_webtable(wp, (char *)"Security flags", getflag(nodes.Security.flags, nodes.Security.notflags)); add_webtable(wp, (char *)"Security flags", getflag(nodes.Security.flags, nodes.Security.notflags));
fprintf(wp, "<TR><TD colspan='2'>&nbsp;</TD></TR>\n"); fprintf(wp, "<TR><TD colspan='2'>&nbsp;</TD></TR>\n");