Added IBC setup

This commit is contained in:
Michiel Broek 2005-04-16 15:48:42 +00:00
parent 82137984f7
commit 071f5f803c
2 changed files with 7 additions and 6 deletions

View File

@ -4,19 +4,19 @@
include ../Makefile.global
SRCS = grlist.c m_domain.c m_fgroup.c m_lang.c m_marea.c m_new.c \
SRCS = grlist.c m_domain.c m_fgroup.c m_lang.c m_marea.c m_new.c m_ibc.c \
m_protocol.c m_ticarea.c mbsetup.c ledit.c m_farea.c m_fido.c \
m_limits.c m_menu.c m_ngroup.c m_service.c m_tty.c mutil.c m_archive.c \
m_fdb.c m_global.c m_magic.c m_mgroup.c m_node.c m_task.c m_users.c \
screen.c m_bbs.c m_ff.c m_hatch.c m_mail.c m_modem.c m_ol.c m_tic.c \
m_virus.c stlist.c m_bbslist.c m_route.c
HDRS = grlist.h m_domain.h m_fgroup.h m_lang.h m_marea.h m_new.h m_protocol.h \
HDRS = grlist.h m_domain.h m_fgroup.h m_lang.h m_marea.h m_new.h m_ibc.h m_protocol.h \
m_ticarea.h mutil.h ledit.h m_farea.h m_fido.h m_limits.h m_menu.h \
m_ngroup.h m_service.h m_tty.h screen.h m_archive.h m_fdb.h m_global.h \
m_magic.h m_mgroup.h m_node.h m_task.h m_users.h stlist.h m_bbs.h m_ff.h \
m_hatch.h m_mail.h m_modem.h m_ol.h m_tic.h m_virus.h m_bbslist.h \
m_route.h
OBJS = grlist.o m_domain.o m_fgroup.o m_lang.o m_marea.o m_new.o m_protocol.o \
OBJS = grlist.o m_domain.o m_fgroup.o m_lang.o m_marea.o m_new.o m_ibc.o m_protocol.o \
m_ticarea.o mbsetup.o ledit.o m_farea.o m_fido.o m_limits.o m_menu.o \
m_ngroup.o m_service.o m_tty.o mutil.o m_archive.o m_fdb.o m_global.o \
m_magic.o m_mgroup.o m_node.o m_task.o m_users.o screen.o m_bbs.o m_ff.o \
@ -77,6 +77,7 @@ m_fgroup.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h stlist.h m_glo
m_lang.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h stlist.h m_global.h m_lang.h
m_marea.o: ../config.h ../lib/mbselib.h ../lib/msg.h ../lib/users.h ../lib/mbsedb.h screen.h mutil.h ledit.h grlist.h m_global.h m_node.h m_mgroup.h m_marea.h
m_new.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h stlist.h m_global.h grlist.h m_new.h m_lang.h m_marea.h m_ngroup.h
m_ibc.o: ../config.h ../lib/mbselib.h ../paths.h screen.h mutil.h ledit.h stlist.h m_global.h m_ibc.h
m_protocol.o: ../config.h ../lib/mbselib.h ../paths.h screen.h mutil.h ledit.h stlist.h m_global.h m_protocol.h
m_ticarea.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h stlist.h grlist.h m_global.h m_node.h m_fgroup.h m_farea.h m_archive.h m_ticarea.h
mbsetup.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h screen.h mutil.h ledit.h m_global.h m_bbs.h m_farea.h m_fgroup.h m_mail.h m_mgroup.h m_hatch.h m_tic.h m_ticarea.h m_magic.h m_fido.h m_lang.h m_archive.h m_virus.h m_tty.h m_limits.h m_users.h m_node.h m_fdb.h m_new.h m_ol.h m_bbslist.h m_protocol.h m_ff.h m_modem.h m_marea.h m_ngroup.h m_service.h m_domain.h m_task.h m_route.h m_ibc.h

View File

@ -150,7 +150,7 @@ void CloseIBC(int force)
fwrite(&ibcsrvhdr, ibcsrvhdr.hdrsize, 1, fo);
while (fread(&ibcsrv, ibcsrvhdr.recsize, 1, fi) == 1)
if (!ibcsrv.deleted)
if (!ibcsrv.Deleted)
fill_stlist(&vir, ibcsrv.comment, ftell(fi) - ibcsrvhdr.recsize);
sort_stlist(&vir);
@ -241,7 +241,7 @@ int EditIBCRec(int Area)
set_color(WHITE, BLACK);
show_str( 7,16,40, ibcsrv.comment);
show_str( 8,16,63, ibcsrv.server);
show_str( 9,16,15, ibcsrv.password);
show_str( 9,16,15, ibcsrv.passwd);
show_bool(10,16, ibcsrv.Active);
show_bool(11,16, ibcsrv.Deleted);
show_bool(12,16, ibcsrv.Compress);
@ -268,7 +268,7 @@ int EditIBCRec(int Area)
return 0;
case 1: E_STR( 7,16,40,ibcsrv.comment, "The ^Comment^ for this record")
case 2: E_STR( 8,16,64,ibcsrv.server, "The internet ^name^ or ^IP^ address of the server")
case 3: E_STR( 9,16,64,ibcsrv.password, "The ^password^ for this server")
case 3: E_STR( 9,16,64,ibcsrv.passwd, "The ^password^ for this server")
case 4: E_BOOL(10,16, ibcsrv.Active, "Switch if this server is ^Active^ for chat")
case 5: E_BOOL(11,16, ibcsrv.Deleted, "Is this server to be ^Deleted^")
case 6: E_BOOL(12,16, ibcsrv.Compress, "Use ^zlib compression^ with this server")