From 0334e7cc5946cb899514cddfecfd340108536db5 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sat, 21 Feb 2004 17:22:00 +0000 Subject: [PATCH] Changed library headers --- ChangeLog | 5 ++ configure | 2 +- configure.in | 2 +- lib/mbselib.h | 31 +++++++- lib/term.c | 31 ++++---- mbcico/Makefile | 95 ++++++++++++------------ mbcico/answer.c | 11 +-- mbcico/atoul.c | 7 +- mbcico/binkp.c | 12 +-- mbcico/binkpold.c | 13 +--- mbcico/call.c | 9 +-- mbcico/callstat.c | 9 +-- mbcico/chat.c | 7 +- mbcico/config.h | 4 +- mbcico/dial.c | 9 +-- mbcico/dietifna.c | 7 +- mbcico/emsi.c | 9 +-- mbcico/emsidat.c | 8 +- mbcico/filelist.c | 7 +- mbcico/filetime.c | 7 +- mbcico/ftsc.c | 8 +- mbcico/hydra.c | 8 +- mbcico/inbound.c | 9 +-- mbcico/lutil.c | 7 +- mbcico/m7recv.c | 10 +-- mbcico/m7send.c | 10 +-- mbcico/mbcico.c | 15 +--- mbcico/mbout.c | 19 ++--- mbcico/md5b.c | 7 +- mbcico/nlinfo.c | 7 +- mbcico/openfile.c | 9 +-- mbcico/openport.c | 5 +- mbcico/opentcp.c | 10 +-- mbcico/outstat.c | 15 +--- mbcico/outstat.h | 2 +- mbcico/portsel.c | 9 +-- mbcico/rdoptions.c | 12 +-- mbcico/recvbark.c | 5 +- mbcico/respfreq.c | 7 +- mbcico/scanout.c | 10 +-- mbcico/sendbark.c | 5 +- mbcico/session.c | 8 +- mbcico/tcp.c | 7 +- mbcico/tcpproto.c | 8 +- mbcico/telnet.c | 4 +- mbcico/ttyio.c | 7 +- mbcico/ulock.c | 5 +- mbcico/wazoo.c | 6 +- mbcico/xmrecv.c | 5 +- mbcico/xmsend.c | 5 +- mbcico/yoohoo.c | 11 +-- mbcico/zmmisc.c | 5 +- mbcico/zmrecv.c | 5 +- mbcico/zmrle.c | 5 +- mbcico/zmsend.c | 5 +- mbfido/Makefile | 168 +++++++++++++++++++++--------------------- mbfido/addbbs.c | 9 +-- mbfido/addpkt.c | 11 +-- mbfido/aliasdb.c | 9 +-- mbfido/announce.c | 8 +- mbfido/areamgr.c | 15 +--- mbfido/atoul.c | 7 +- mbfido/backalias.c | 13 ++-- mbfido/bounce.c | 15 +--- mbfido/bwrite.c | 7 +- mbfido/createf.c | 9 +-- mbfido/createm.c | 9 +-- mbfido/dirlock.c | 9 +-- mbfido/dirsession.c | 9 +-- mbfido/fflist.c | 12 ++- mbfido/filefind.c | 8 +- mbfido/filemgr.c | 15 +--- mbfido/flock.c | 8 +- mbfido/forward.c | 11 +-- mbfido/fsort.c | 5 +- mbfido/ftn2rfc.c | 12 +-- mbfido/grlist.c | 8 +- mbfido/hash.c | 7 +- mbfido/hatch.c | 10 +-- mbfido/lhash.c | 5 +- mbfido/magic.c | 8 +- mbfido/makestat.c | 9 +-- mbfido/maketags.c | 9 +-- mbfido/mbaff.c | 13 +--- mbfido/mbdiff.c | 13 +--- mbfido/mbfadopt.c | 11 +-- mbfido/mbfcheck.c | 11 +-- mbfido/mbfdel.c | 11 +-- mbfido/mbfido.c | 17 +---- mbfido/mbfile.c | 13 +--- mbfido/mbfimport.c | 11 +-- mbfido/mbfindex.c | 9 +-- mbfido/mbfkill.c | 11 +-- mbfido/mbflist.c | 11 +-- mbfido/mbfmove.c | 11 +-- mbfido/mbfpack.c | 11 +-- mbfido/mbfsort.c | 11 +-- mbfido/mbftoberep.c | 10 +-- mbfido/mbfutil.c | 9 +-- mbfido/mbindex.c | 12 +-- mbfido/mbmsg.c | 11 +-- mbfido/mbseq.c | 10 +-- mbfido/mgrutil.c | 8 +- mbfido/mkftnhdr.c | 10 +-- mbfido/mover.c | 9 +-- mbfido/msgflags.c | 6 +- mbfido/msgutil.c | 10 +-- mbfido/newspost.c | 9 +-- mbfido/notify.c | 10 +-- mbfido/ping.c | 15 +--- mbfido/post.c | 10 +-- mbfido/postecho.c | 15 +--- mbfido/postemail.c | 10 +-- mbfido/postnetmail.c | 13 +--- mbfido/ptic.c | 10 +-- mbfido/qualify.c | 5 +- mbfido/queue.c | 9 +-- mbfido/rfc2ftn.c | 12 +-- mbfido/rnews.c | 13 +--- mbfido/rollover.c | 7 +- mbfido/scan.c | 9 +-- mbfido/scannews.c | 10 +-- mbfido/sendmail.c | 11 +-- mbfido/storeecho.c | 11 +-- mbfido/storenet.c | 11 +-- mbfido/tic.c | 8 +- mbfido/toberep.c | 9 +-- mbfido/tosspkt.c | 13 +--- mbfido/tracker.c | 11 +-- mbfido/unpack.c | 7 +- mbfido/utic.c | 9 +-- mbfido/virscan.c | 9 +-- mbmon/mbmon.c | 3 +- mbmon/mutil.c | 2 +- mbsebbs/Makefile | 100 ++++++++++++------------- mbsebbs/bbslist.c | 8 +- mbsebbs/bye.c | 9 +-- mbsebbs/change.c | 11 +-- mbsebbs/chat.c | 10 +-- mbsebbs/dispfile.c | 8 +- mbsebbs/door.c | 9 +-- mbsebbs/email.c | 8 +- mbsebbs/exitinfo.c | 8 +- mbsebbs/file.c | 8 +- mbsebbs/filesub.c | 8 +- mbsebbs/fsedit.c | 9 +-- mbsebbs/funcs.c | 9 +-- mbsebbs/input.c | 9 +-- mbsebbs/language.c | 9 +-- mbsebbs/lastcallers.c | 8 +- mbsebbs/lineedit.c | 8 +- mbsebbs/logentry.c | 8 +- mbsebbs/mail.c | 8 +- mbsebbs/mball.c | 11 +-- mbsebbs/mblang.c | 8 +- mbsebbs/mbnewusr.c | 11 +-- mbsebbs/mbsebbs.c | 11 +-- mbsebbs/mbstat.c | 11 +-- mbsebbs/mbtoberep.c | 6 +- mbsebbs/mbuser.c | 11 +-- mbsebbs/menu.c | 9 +-- mbsebbs/misc.c | 9 +-- mbsebbs/morefile.c | 8 +- mbsebbs/msgutil.c | 8 +- mbsebbs/newuser.c | 12 +-- mbsebbs/offline.c | 6 +- mbsebbs/oneline.c | 8 +- mbsebbs/page.c | 8 +- mbsebbs/pinfo.c | 8 +- mbsebbs/pop3.c | 8 +- mbsebbs/signature.c | 9 +-- mbsebbs/timecheck.c | 9 +-- mbsebbs/timeout.c | 8 +- mbsebbs/timestats.c | 7 +- mbsebbs/user.c | 11 +-- mbsebbs/userlist.c | 8 +- mbsebbs/whoson.c | 8 +- mbsetup/Makefile | 78 ++++++++++---------- mbsetup/grlist.c | 7 +- mbsetup/ledit.c | 6 +- mbsetup/m_archive.c | 7 +- mbsetup/m_bbs.c | 6 +- mbsetup/m_bbslist.c | 7 +- mbsetup/m_domain.c | 7 +- mbsetup/m_farea.c | 7 +- mbsetup/m_fdb.c | 7 +- mbsetup/m_ff.c | 7 +- mbsetup/m_fgroup.c | 7 +- mbsetup/m_fido.c | 7 +- mbsetup/m_global.c | 8 +- mbsetup/m_hatch.c | 7 +- mbsetup/m_lang.c | 7 +- mbsetup/m_limits.c | 6 +- mbsetup/m_magic.c | 7 +- mbsetup/m_mail.c | 8 +- mbsetup/m_marea.c | 7 +- mbsetup/m_menu.c | 7 +- mbsetup/m_mgroup.c | 7 +- mbsetup/m_modem.c | 7 +- mbsetup/m_new.c | 7 +- mbsetup/m_ngroup.c | 7 +- mbsetup/m_node.c | 7 +- mbsetup/m_ol.c | 7 +- mbsetup/m_protocol.c | 7 +- mbsetup/m_route.c | 7 +- mbsetup/m_service.c | 7 +- mbsetup/m_task.c | 9 +-- mbsetup/m_tic.c | 6 +- mbsetup/m_ticarea.c | 7 +- mbsetup/m_tty.c | 7 +- mbsetup/m_users.c | 6 +- mbsetup/m_virus.c | 7 +- mbsetup/mbsetup.c | 8 +- mbsetup/mutil.c | 6 +- mbsetup/screen.c | 8 +- mbsetup/stlist.c | 7 +- mbtask/Makefile | 38 +++++----- mbtask/calllist.c | 5 +- mbtask/callstat.c | 5 +- mbtask/crc.c | 5 +- mbtask/crc.h | 8 -- mbtask/libs.h | 146 ------------------------------------ mbtask/mbtask.c | 6 +- mbtask/outstat.c | 4 +- mbtask/ping.c | 4 +- mbtask/ports.c | 5 +- mbtask/scanout.c | 5 +- mbtask/signame.c | 2 +- mbtask/taskchat.c | 5 +- mbtask/taskcomm.c | 5 +- mbtask/taskdisk.c | 5 +- mbtask/taskinfo.c | 9 +-- mbtask/taskregs.c | 5 +- mbtask/taskstat.c | 6 +- mbtask/taskutil.c | 6 +- unix/mblogin.c | 4 +- 236 files changed, 756 insertions(+), 1839 deletions(-) delete mode 100644 mbtask/crc.h delete mode 100644 mbtask/libs.h diff --git a/ChangeLog b/ChangeLog index 9b781005..4420638a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,12 +2,17 @@ $Id$ v0.51.0 09-Feb-2004 + general: + Reorganized the library header files. This will make it easier + to switch to dynamic libraries so other apps can link to mbse. + mbaff: Patched to store long filename in the newfiles database mbsebbs: Added support for the internal editor for hi-ascii international character sets. + The screenlength is now really set to the users screenlength. v0.50.0 03-Oct-2003 - 09-Feb-2004 diff --git a/configure b/configure index 71c4d8a9..4280a880 100755 --- a/configure +++ b/configure @@ -270,7 +270,7 @@ PACKAGE_VERSION= PACKAGE_STRING= PACKAGE_BUGREPORT= -ac_unique_file="lib/libs.h" +ac_unique_file="lib/mbselib.h" ac_default_prefix=/opt/mbse # Factoring default headers for most tests. ac_includes_default="\ diff --git a/configure.in b/configure.in index 9209f4eb..87ea7b2b 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. dnl $Id$ -AC_INIT(lib/libs.h) +AC_INIT(lib/mbselib.h) AM_CONFIG_HEADER(config.h) SUBDIRS="lib mbcico mbfido mbmon mbsebbs mbtask mbsetup unix lang examples html script" AC_SUBST(SUBDIRS) diff --git a/lib/mbselib.h b/lib/mbselib.h index c5316fcd..dc8c7ee6 100644 --- a/lib/mbselib.h +++ b/lib/mbselib.h @@ -91,6 +91,33 @@ #include #endif #include +#include + +#include +#include +#if defined(__FreeBSD__) || defined(__NetBSD__) +#include +#endif +#include +#include + + +/* + * * Some older systems don;t have this + * */ +#ifndef ICMP_FILTER +#define ICMP_FILTER 1 + +struct icmp_filter { + u_int32_t data; +}; + +#endif + +/* Some old libs don't have socklen_t */ +#ifndef socklen_t +#define socklen_t unsigned int +#endif /* @@ -105,7 +132,7 @@ */ #define MBSE_SS(x) (x)?(x):"(null)" - +#define SOCKA_A4(a) ((void *)&((struct sockaddr_in *)(a))->sin_addr) /***************************************************************************** @@ -2213,7 +2240,7 @@ char *TearLine(void); /* * From term.c */ -void TermInit(int); +void TermInit(int, int, int); void Enter(int); void pout(int, int, char *); void poutCR(int, int, char *); diff --git a/lib/term.c b/lib/term.c index 3ec4884b..55b226fd 100644 --- a/lib/term.c +++ b/lib/term.c @@ -35,12 +35,16 @@ int termmode; /* 0 = tty, 1 = ANSI */ +int termx = 80; +int termy = 24; - -void TermInit(int mode) +void TermInit(int mode, int x, int y) { + Syslog('-', "Terminit(%d, %d, %d)", mode, x, y); termmode = mode; + termx = x; + termy = y; } @@ -140,11 +144,11 @@ void colour(int fg, int bg) void Center(char *string) { int Strlen; - int Maxlen = 70; + int Maxlen = termx; int i, x, z; char *Str; - Str = calloc(81, sizeof(char)); + Str = calloc(1024, sizeof(char)); Strlen = strlen(string); if (Strlen == Maxlen) @@ -183,19 +187,10 @@ void clear() void locate(int y, int x) { if (termmode > 0) { - if (exitinfo.iScreenLen != 0) { - if (y > exitinfo.iScreenLen || x > 80) { - fprintf(stdout, "ANSI: Invalid screen coordinates: %i, %i\n", y, x); - fprintf(stdout, "ANSI: exitinfo.iScreenLen: %i\n", exitinfo.iScreenLen); - fflush(stdout); - return; - } - } else { - if (y > 25 || x > 80) { - fprintf(stdout, "ANSI: Invalid screen coordinates: %i, %i\n", y, x); - fflush(stdout); - return; - } + if (y > termy || x > termx) { + fprintf(stdout, "ANSI: Invalid screen coordinates: %i, %i\n", y, x); + fflush(stdout); + return; } fprintf(stdout, "\x1B[%i;%iH", y, x); fflush(stdout); @@ -225,7 +220,7 @@ void fLine(int Len) void sLine() { - fLine(79); + fLine(termx -1); } diff --git a/mbcico/Makefile b/mbcico/Makefile index 15108140..6bd194d1 100644 --- a/mbcico/Makefile +++ b/mbcico/Makefile @@ -31,8 +31,7 @@ MBCICO_OBJS = zmmisc.o zmrle.o zmrecv.o zmsend.o binkp.o md5b.o \ ttyio.o lutil.o scanout.o emsi.o ulock.o \ callstat.o session.o call.o mbcico.o MBOUT_OBJS = outstat.o nlinfo.o mbout.o scanout.o callstat.o -LIBS += ../lib/libclcomm.a ../lib/libcommon.a \ - ../lib/libmsgbase.a ../lib/libdbase.a ../lib/libnodelist.a +LIBS += ../lib/libmbse.a ../lib/libmsgbase.a ../lib/libdbase.a ../lib/libnodelist.a OTHER = Makefile README TARGET = mbcico mbout @@ -87,50 +86,50 @@ depend: # DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT # Dependencies generated by make depend -zmmisc.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/nodelist.h ../lib/clcomm.h ttyio.h session.h zmodem.h -zmrle.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/clcomm.h ../lib/common.h ../lib/nodelist.h ttyio.h session.h zmodem.h -zmrecv.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/clcomm.h ../lib/common.h ../lib/nodelist.h lutil.h ttyio.h session.h zmodem.h config.h emsi.h openfile.h filelist.h openport.h -zmsend.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h ../lib/nodelist.h ttyio.h session.h zmodem.h lutil.h emsi.h filelist.h -binkp.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/nodelist.h ../lib/dbnode.h ../lib/clcomm.h ../lib/mberrors.h ttyio.h session.h statetbl.h config.h emsi.h openfile.h respfreq.h filelist.h opentcp.h rdoptions.h lutil.h binkp.h config.h md5b.h inbound.h -md5b.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/nodelist.h ../lib/clcomm.h lutil.h md5b.h -xmsend.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/nodelist.h ../lib/clcomm.h session.h ttyio.h statetbl.h xmsend.h m7send.h filelist.h filetime.h -xmrecv.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/nodelist.h ../lib/clcomm.h session.h ttyio.h statetbl.h config.h lutil.h openfile.h m7recv.h xmrecv.h filelist.h filetime.h -m7recv.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h statetbl.h ttyio.h m7recv.h -m7send.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h statetbl.h ttyio.h m7send.h -hydra.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/nodelist.h ../lib/clcomm.h ../lib/mberrors.h session.h filelist.h filetime.h ttyio.h statetbl.h config.h emsi.h openfile.h lutil.h respfreq.h mbcico.h hydra.h -inbound.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h inbound.h -answer.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/nodelist.h ../lib/clcomm.h ../lib/dbnode.h ../lib/mberrors.h lutil.h session.h config.h answer.h openport.h portsel.h dial.h rdoptions.h mbcico.h -chat.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h config.h chat.h ttyio.h -dial.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/nodelist.h ../lib/clcomm.h ../lib/dbnode.h ../lib/mberrors.h config.h chat.h ttyio.h session.h dial.h -dietifna.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/nodelist.h ../lib/clcomm.h ttyio.h session.h emsi.h dietifna.h respfreq.h filelist.h xmrecv.h xmsend.h -emsidat.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/nodelist.h ../lib/dbnode.h emsi.h session.h lutil.h config.h emsidat.h filetime.h -filelist.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/clcomm.h ../lib/common.h ../lib/nodelist.h config.h session.h filelist.h -openfile.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/clcomm.h ../lib/common.h ../lib/users.h ../lib/records.h config.h lutil.h openfile.h -openport.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h ulock.h ttyio.h mbcico.h openport.h -opentcp.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/nodelist.h ../lib/dbnode.h session.h ttyio.h openport.h opentcp.h -rdoptions.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/nodelist.h ../lib/dbnode.h session.h config.h -yoohoo.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/clcomm.h ../lib/common.h ../lib/nodelist.h ../lib/dbnode.h ../lib/mberrors.h statetbl.h ttyio.h session.h config.h emsi.h hydra.h rdoptions.h wazoo.h dietifna.h yoohoo.h inbound.h -recvbark.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/nodelist.h ../lib/clcomm.h ttyio.h session.h statetbl.h recvbark.h respfreq.h filelist.h -respfreq.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/nodelist.h ../lib/clcomm.h ../lib/msg.h session.h lutil.h config.h atoul.h respfreq.h filelist.h -sendbark.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/nodelist.h ../lib/clcomm.h ttyio.h session.h statetbl.h sendbark.h xmrecv.h -tcp.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/nodelist.h ../lib/clcomm.h ttyio.h session.h statetbl.h config.h emsi.h respfreq.h filelist.h tcpproto.h tcp.h -tcpproto.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h ../lib/nodelist.h ../lib/mberrors.h ttyio.h session.h config.h emsi.h lutil.h openfile.h filelist.h tcpproto.h -wazoo.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h ../lib/nodelist.h ../lib/mberrors.h ttyio.h session.h statetbl.h config.h emsi.h respfreq.h filelist.h wazoo.h zmodem.h -filetime.o: ../config.h ../lib/libs.h filetime.h -ftsc.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/nodelist.h ../lib/clcomm.h ../lib/mberrors.h session.h ttyio.h statetbl.h config.h ftsc.h rdoptions.h recvbark.h filelist.h sendbark.h respfreq.h xmrecv.h xmsend.h inbound.h -atoul.o: ../config.h ../lib/libs.h atoul.h -portsel.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h portsel.h -telnet.o: ../config.h ../lib/libs.h ../lib/clcomm.h ../lib/mberrors.h telnet.h -ttyio.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ttyio.h lutil.h -lutil.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h lutil.h -scanout.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbftn.h config.h scanout.h lutil.h -emsi.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/nodelist.h ../lib/dbnode.h ../lib/clcomm.h ../lib/mberrors.h ttyio.h session.h statetbl.h config.h emsi.h emsidat.h hydra.h rdoptions.h tcp.h wazoo.h inbound.h -ulock.o: ../config.h ../lib/libs.h ../lib/clcomm.h -callstat.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/clcomm.h ../lib/common.h callstat.h -session.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/nodelist.h ../lib/mberrors.h ttyio.h statetbl.h emsi.h ftsc.h session.h yoohoo.h mbcico.h binkp.h callstat.h inbound.h opentcp.h telnet.h -call.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/nodelist.h ../lib/clcomm.h ../lib/dbnode.h ../lib/mberrors.h session.h callstat.h call.h config.h dial.h lutil.h portsel.h openport.h opentcp.h rdoptions.h inbound.h -mbcico.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/nodelist.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/dbnode.h ../lib/dbftn.h ../lib/mberrors.h config.h answer.h call.h lutil.h mbcico.h session.h -outstat.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/nodelist.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/dbnode.h ../lib/dbftn.h ../lib/mberrors.h scanout.h callstat.h outstat.h -nlinfo.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/nodelist.h ../lib/clcomm.h nlinfo.h -mbout.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/nodelist.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/dbnode.h ../lib/dbftn.h ../lib/mberrors.h outstat.h nlinfo.h +zmmisc.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h ttyio.h session.h zmodem.h +zmrle.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h ttyio.h session.h zmodem.h +zmrecv.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h lutil.h ttyio.h session.h zmodem.h config.h emsi.h openfile.h filelist.h openport.h +zmsend.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h ttyio.h session.h zmodem.h lutil.h emsi.h filelist.h +binkp.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/nodelist.h ../lib/mbsedb.h ttyio.h session.h statetbl.h config.h emsi.h openfile.h respfreq.h filelist.h opentcp.h rdoptions.h lutil.h binkp.h config.h md5b.h inbound.h +md5b.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h lutil.h md5b.h +xmsend.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h session.h ttyio.h statetbl.h xmsend.h m7send.h filelist.h filetime.h +xmrecv.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h session.h ttyio.h statetbl.h config.h lutil.h openfile.h m7recv.h xmrecv.h filelist.h filetime.h +m7recv.o: ../config.h ../lib/mbselib.h statetbl.h ttyio.h m7recv.h +m7send.o: ../config.h ../lib/mbselib.h statetbl.h ttyio.h m7send.h +hydra.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h session.h filelist.h filetime.h ttyio.h statetbl.h config.h emsi.h openfile.h lutil.h respfreq.h mbcico.h hydra.h +inbound.o: ../config.h ../lib/mbselib.h inbound.h +answer.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/nodelist.h ../lib/mbsedb.h lutil.h session.h config.h answer.h openport.h portsel.h dial.h rdoptions.h mbcico.h +chat.o: ../config.h ../lib/mbselib.h config.h chat.h ttyio.h +dial.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/nodelist.h ../lib/mbsedb.h config.h chat.h ttyio.h session.h dial.h +dietifna.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h ttyio.h session.h emsi.h dietifna.h respfreq.h filelist.h xmrecv.h xmsend.h +emsidat.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/nodelist.h ../lib/mbsedb.h emsi.h session.h lutil.h config.h emsidat.h filetime.h +filelist.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h config.h session.h filelist.h +openfile.o: ../config.h ../lib/mbselib.h config.h lutil.h openfile.h +openport.o: ../config.h ../lib/mbselib.h ulock.h ttyio.h mbcico.h openport.h +opentcp.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h ../lib/users.h ../lib/mbsedb.h session.h ttyio.h openport.h opentcp.h +rdoptions.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h ../lib/users.h ../lib/mbsedb.h session.h config.h +yoohoo.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h ../lib/users.h ../lib/mbsedb.h statetbl.h ttyio.h session.h config.h emsi.h hydra.h rdoptions.h wazoo.h dietifna.h yoohoo.h inbound.h +recvbark.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h ttyio.h session.h statetbl.h recvbark.h respfreq.h filelist.h +respfreq.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h ../lib/msg.h session.h lutil.h config.h atoul.h respfreq.h filelist.h +sendbark.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h ttyio.h session.h statetbl.h sendbark.h xmrecv.h +tcp.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h ttyio.h session.h statetbl.h config.h emsi.h respfreq.h filelist.h tcpproto.h tcp.h +tcpproto.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h ttyio.h session.h config.h emsi.h lutil.h openfile.h filelist.h tcpproto.h +wazoo.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h ttyio.h session.h statetbl.h config.h emsi.h respfreq.h filelist.h wazoo.h zmodem.h +filetime.o: ../config.h ../lib/mbselib.h filetime.h +ftsc.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h session.h ttyio.h statetbl.h config.h ftsc.h rdoptions.h recvbark.h filelist.h sendbark.h respfreq.h xmrecv.h xmsend.h inbound.h +atoul.o: ../config.h ../lib/mbselib.h atoul.h +portsel.o: ../config.h ../lib/mbselib.h portsel.h +telnet.o: ../config.h ../lib/mbselib.h telnet.h +ttyio.o: ../config.h ../lib/mbselib.h ttyio.h lutil.h +lutil.o: ../config.h ../lib/mbselib.h lutil.h +scanout.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h config.h scanout.h lutil.h +emsi.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/nodelist.h ../lib/mbsedb.h ttyio.h session.h statetbl.h config.h emsi.h emsidat.h hydra.h rdoptions.h tcp.h wazoo.h inbound.h +ulock.o: ../config.h ../lib/mbselib.h +callstat.o: ../config.h ../lib/mbselib.h callstat.h +session.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h ttyio.h statetbl.h emsi.h ftsc.h session.h yoohoo.h mbcico.h binkp.h callstat.h inbound.h opentcp.h telnet.h +call.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/nodelist.h ../lib/mbsedb.h session.h callstat.h call.h config.h dial.h lutil.h portsel.h openport.h opentcp.h rdoptions.h inbound.h +mbcico.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h ../lib/users.h ../lib/mbsedb.h config.h answer.h call.h lutil.h mbcico.h session.h +outstat.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h ../lib/users.h ../lib/mbsedb.h scanout.h callstat.h outstat.h +nlinfo.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h nlinfo.h +mbout.o: ../config.h ../lib/mbselib.h ../lib/nodelist.h ../lib/users.h ../lib/mbsedb.h outstat.h nlinfo.h # End of generated dependencies diff --git a/mbcico/answer.c b/mbcico/answer.c index 7c498061..3d71bdf1 100644 --- a/mbcico/answer.c +++ b/mbcico/answer.c @@ -4,7 +4,7 @@ * Purpose ...............: Fidonet mailer - awnser a call * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,15 +29,10 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" #include "../lib/nodelist.h" -#include "../lib/clcomm.h" -#include "../lib/dbnode.h" -#include "../lib/mberrors.h" +#include "../lib/mbsedb.h" #include "lutil.h" #include "session.h" #include "config.h" diff --git a/mbcico/atoul.c b/mbcico/atoul.c index 09eb29e6..924aa5ad 100644 --- a/mbcico/atoul.c +++ b/mbcico/atoul.c @@ -1,11 +1,10 @@ /***************************************************************************** * - * File ..................: mbcico/atoul.c + * $Id$ * Purpose ...............: Fidonet mailer - * Last modification date : 18-Dec-1998 * ***************************************************************************** - * Copyright (C) 1997-1998 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -30,7 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "atoul.h" diff --git a/mbcico/binkp.c b/mbcico/binkp.c index 6772fc35..3d781cef 100644 --- a/mbcico/binkp.c +++ b/mbcico/binkp.c @@ -30,18 +30,10 @@ *****************************************************************************/ #include "../config.h" - - - -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" #include "../lib/nodelist.h" -#include "../lib/dbnode.h" -#include "../lib/clcomm.h" -#include "../lib/mberrors.h" +#include "../lib/mbsedb.h" #include "ttyio.h" #include "session.h" #include "statetbl.h" diff --git a/mbcico/binkpold.c b/mbcico/binkpold.c index 0827a3b8..688376ee 100644 --- a/mbcico/binkpold.c +++ b/mbcico/binkpold.c @@ -5,7 +5,7 @@ * Binkp protocol copyright : Dima Maloff. * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -30,17 +30,10 @@ *****************************************************************************/ #include "../config.h" - - -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" #include "../lib/nodelist.h" -#include "../lib/dbnode.h" -#include "../lib/clcomm.h" -#include "../lib/mberrors.h" +#include "../lib/mbsedb.h" #include "ttyio.h" #include "session.h" #include "statetbl.h" diff --git a/mbcico/call.c b/mbcico/call.c index 53cd9fdf..b7d944d1 100644 --- a/mbcico/call.c +++ b/mbcico/call.c @@ -29,15 +29,10 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" #include "../lib/nodelist.h" -#include "../lib/clcomm.h" -#include "../lib/dbnode.h" -#include "../lib/mberrors.h" +#include "../lib/mbsedb.h" #include "session.h" #include "callstat.h" #include "call.h" diff --git a/mbcico/callstat.c b/mbcico/callstat.c index 636a8123..42ce4667 100644 --- a/mbcico/callstat.c +++ b/mbcico/callstat.c @@ -4,7 +4,7 @@ * Purpose ...............: Fidonet mailer * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/clcomm.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "callstat.h" diff --git a/mbcico/chat.c b/mbcico/chat.c index ff07d837..cda9617f 100644 --- a/mbcico/chat.c +++ b/mbcico/chat.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "config.h" #include "chat.h" #include "ttyio.h" diff --git a/mbcico/config.h b/mbcico/config.h index 61daca5c..5425eb27 100644 --- a/mbcico/config.h +++ b/mbcico/config.h @@ -1,9 +1,7 @@ #ifndef _CONFIG_H #define _CONFIG_H -#include "../lib/structs.h" -#include "../lib/common.h" - +/* $Id$ */ extern long configtime; extern long maxfsize; diff --git a/mbcico/dial.c b/mbcico/dial.c index 39642caf..2436a473 100644 --- a/mbcico/dial.c +++ b/mbcico/dial.c @@ -29,15 +29,10 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" #include "../lib/nodelist.h" -#include "../lib/clcomm.h" -#include "../lib/dbnode.h" -#include "../lib/mberrors.h" +#include "../lib/mbsedb.h" #include "config.h" #include "chat.h" #include "ttyio.h" diff --git a/mbcico/dietifna.c b/mbcico/dietifna.c index ad5b0762..18745c10 100644 --- a/mbcico/dietifna.c +++ b/mbcico/dietifna.c @@ -4,7 +4,7 @@ * Purpose ...............: Fidonet mailer * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,11 +29,8 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" -#include "../lib/clcomm.h" #include "ttyio.h" #include "session.h" #include "emsi.h" diff --git a/mbcico/emsi.c b/mbcico/emsi.c index 50b12845..e23546f1 100644 --- a/mbcico/emsi.c +++ b/mbcico/emsi.c @@ -29,15 +29,10 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" #include "../lib/nodelist.h" -#include "../lib/dbnode.h" -#include "../lib/clcomm.h" -#include "../lib/mberrors.h" +#include "../lib/mbsedb.h" #include "ttyio.h" #include "session.h" #include "statetbl.h" diff --git a/mbcico/emsidat.c b/mbcico/emsidat.c index a595f4ae..320cac0f 100644 --- a/mbcico/emsidat.c +++ b/mbcico/emsidat.c @@ -29,14 +29,10 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "../lib/nodelist.h" -#include "../lib/dbnode.h" +#include "../lib/mbsedb.h" #include "emsi.h" #include "session.h" #include "lutil.h" diff --git a/mbcico/filelist.c b/mbcico/filelist.c index 8fbb21be..18df1aa1 100644 --- a/mbcico/filelist.c +++ b/mbcico/filelist.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/clcomm.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" #include "config.h" #include "session.h" diff --git a/mbcico/filetime.c b/mbcico/filetime.c index 1ceecb4f..c493c1b6 100644 --- a/mbcico/filetime.c +++ b/mbcico/filetime.c @@ -1,11 +1,10 @@ /***************************************************************************** * - * File ..................: mbcico/filetime.c + * $Id$ * Purpose ...............: Fidonet mailer - * Last modification date : 06-Jan-2001 * ***************************************************************************** - * Copyright (C) 1997-2001 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -30,7 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "filetime.h" diff --git a/mbcico/ftsc.c b/mbcico/ftsc.c index 451f3051..0178e832 100644 --- a/mbcico/ftsc.c +++ b/mbcico/ftsc.c @@ -29,14 +29,8 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" -#include "../lib/clcomm.h" -#include "../lib/mberrors.h" #include "session.h" #include "ttyio.h" #include "statetbl.h" diff --git a/mbcico/hydra.c b/mbcico/hydra.c index 1eead453..da159838 100644 --- a/mbcico/hydra.c +++ b/mbcico/hydra.c @@ -5,7 +5,7 @@ * Remark ................: See below for more copyright details and credits. * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -42,12 +42,8 @@ */ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" -#include "../lib/clcomm.h" -#include "../lib/mberrors.h" #include "session.h" #include "filelist.h" #include "filetime.h" diff --git a/mbcico/inbound.c b/mbcico/inbound.c index 5266479c..d1371445 100644 --- a/mbcico/inbound.c +++ b/mbcico/inbound.c @@ -5,7 +5,7 @@ * Purpose ...............: Fidonet mailer, inbound functions * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -30,12 +30,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "inbound.h" diff --git a/mbcico/lutil.c b/mbcico/lutil.c index ef33c951..5f3a1aa3 100644 --- a/mbcico/lutil.c +++ b/mbcico/lutil.c @@ -4,7 +4,7 @@ * Purpose ...............: Fidonet mailer * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,10 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "lutil.h" diff --git a/mbcico/m7recv.c b/mbcico/m7recv.c index 22c9efa0..83ffe722 100644 --- a/mbcico/m7recv.c +++ b/mbcico/m7recv.c @@ -1,11 +1,10 @@ /***************************************************************************** * - * File ..................: mbcico/m7recv.c + * $Id$ * Purpose ...............: Fidonet mailer - * Last modification date : 02-Jan-2001 * ***************************************************************************** - * Copyright (C) 1997-2001 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -30,10 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "statetbl.h" #include "ttyio.h" #include "m7recv.h" diff --git a/mbcico/m7send.c b/mbcico/m7send.c index ee31b42f..71fffea7 100644 --- a/mbcico/m7send.c +++ b/mbcico/m7send.c @@ -1,11 +1,10 @@ /***************************************************************************** * - * File ..................: mbcico/m7send.c + * $Id$ * Purpose ...............: Fidonet mailer - * Last modification date : 02-Jan-2001 * ***************************************************************************** - * Copyright (C) 1997-2001 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -30,10 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "statetbl.h" #include "ttyio.h" #include "m7send.h" diff --git a/mbcico/mbcico.c b/mbcico/mbcico.c index 80725487..f8529257 100644 --- a/mbcico/mbcico.c +++ b/mbcico/mbcico.c @@ -29,17 +29,10 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" -#include "../lib/dbnode.h" -#include "../lib/dbftn.h" -#include "../lib/mberrors.h" +#include "../lib/users.h" +#include "../lib/mbsedb.h" #include "config.h" #include "answer.h" #include "call.h" @@ -188,7 +181,7 @@ int main(int argc, char *argv[]) InitConfig(); InitNode(); InitFidonet(); - TermInit(1); + TermInit(1, 80, 25); t_start = c_start = c_end = time(NULL); InitClient(pw->pw_name, (char *)"mbcico", CFG.location, CFG.logfile, diff --git a/mbcico/mbout.c b/mbcico/mbout.c index 4fb601fb..5e50aa69 100644 --- a/mbcico/mbout.c +++ b/mbcico/mbout.c @@ -4,7 +4,7 @@ * Purpose: MBSE BBS Outbound Manager * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,17 +29,10 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" -#include "../lib/dbnode.h" -#include "../lib/dbftn.h" -#include "../lib/mberrors.h" +#include "../lib/users.h" +#include "../lib/mbsedb.h" #include "outstat.h" #include "nlinfo.h" @@ -185,7 +178,7 @@ int main(int argc, char *argv[]) InitConfig(); InitNode(); InitFidonet(); - TermInit(1); + TermInit(1, 80, 25); t_start = time(NULL); umask(002); @@ -279,7 +272,7 @@ int main(int argc, char *argv[]) if (strncasecmp(argv[i-1], "-q", 2)) { if ((addr = parsefaddr(argv[i-1])) == NULL) Fatal((char *)"Unrecognizable address", MBERR_COMMANDLINE); - j = poll(addr, do_stop); + j = pollnode(addr, do_stop); tidy_faddr(addr); if (j) rc = j; diff --git a/mbcico/md5b.c b/mbcico/md5b.c index 9c11507d..70251759 100644 --- a/mbcico/md5b.c +++ b/mbcico/md5b.c @@ -4,7 +4,7 @@ * Purpose ...............: MD5 for binkp protocol driver * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -55,11 +55,8 @@ documentation and/or software. */ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" -#include "../lib/clcomm.h" #include "lutil.h" #include "md5b.h" diff --git a/mbcico/nlinfo.c b/mbcico/nlinfo.c index 107d95a2..52cc4f04 100644 --- a/mbcico/nlinfo.c +++ b/mbcico/nlinfo.c @@ -4,7 +4,7 @@ * Purpose ...............: MBSE BBS Outbound Manager - show node info * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,11 +29,8 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" -#include "../lib/clcomm.h" #include "nlinfo.h" diff --git a/mbcico/openfile.c b/mbcico/openfile.c index 4da536c5..fdfde416 100644 --- a/mbcico/openfile.c +++ b/mbcico/openfile.c @@ -4,7 +4,7 @@ * Purpose ...............: Fidonet mailer * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/clcomm.h" -#include "../lib/common.h" -#include "../lib/users.h" -#include "../lib/records.h" +#include "../lib/mbselib.h" #include "config.h" #include "lutil.h" #include "openfile.h" diff --git a/mbcico/openport.c b/mbcico/openport.c index 118a0e81..6bd8b09c 100644 --- a/mbcico/openport.c +++ b/mbcico/openport.c @@ -30,10 +30,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "ulock.h" #include "ttyio.h" #include "mbcico.h" diff --git a/mbcico/opentcp.c b/mbcico/opentcp.c index caf093d4..38351215 100644 --- a/mbcico/opentcp.c +++ b/mbcico/opentcp.c @@ -29,14 +29,10 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" -#include "../lib/dbnode.h" +#include "../lib/users.h" +#include "../lib/mbsedb.h" #include "session.h" #include "ttyio.h" #include "openport.h" diff --git a/mbcico/outstat.c b/mbcico/outstat.c index a91581b7..d1b9a6f9 100644 --- a/mbcico/outstat.c +++ b/mbcico/outstat.c @@ -29,17 +29,10 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" -#include "../lib/dbnode.h" -#include "../lib/dbftn.h" -#include "../lib/mberrors.h" +#include "../lib/users.h" +#include "../lib/mbsedb.h" #include "scanout.h" #include "callstat.h" #include "outstat.h" @@ -460,7 +453,7 @@ int IsZMH() -int poll(faddr *addr, int stop) +int pollnode(faddr *addr, int stop) { char *pol; int rc = 0; diff --git a/mbcico/outstat.h b/mbcico/outstat.h index 1ba8afac..17ed4afc 100644 --- a/mbcico/outstat.h +++ b/mbcico/outstat.h @@ -4,7 +4,7 @@ int each(faddr *, char, int, char *); int outstat(void); -int poll(faddr *, int); +int pollnode(faddr *, int); int reset(faddr *); int freq(faddr *, char *); diff --git a/mbcico/portsel.c b/mbcico/portsel.c index 99404d76..860a2320 100644 --- a/mbcico/portsel.c +++ b/mbcico/portsel.c @@ -4,7 +4,7 @@ * Purpose ...............: Fidonet mailer * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "portsel.h" diff --git a/mbcico/rdoptions.c b/mbcico/rdoptions.c index 411f7487..227fe5b9 100644 --- a/mbcico/rdoptions.c +++ b/mbcico/rdoptions.c @@ -4,7 +4,7 @@ * Purpose ...............: Fidonet mailer * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,10 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" -#include "../lib/dbnode.h" +#include "../lib/users.h" +#include "../lib/mbsedb.h" #include "session.h" #include "config.h" diff --git a/mbcico/recvbark.c b/mbcico/recvbark.c index c1d051b0..aea19f51 100644 --- a/mbcico/recvbark.c +++ b/mbcico/recvbark.c @@ -29,11 +29,8 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" -#include "../lib/clcomm.h" #include "ttyio.h" #include "session.h" #include "statetbl.h" diff --git a/mbcico/respfreq.c b/mbcico/respfreq.c index 6cdf79e3..dabee1dd 100644 --- a/mbcico/respfreq.c +++ b/mbcico/respfreq.c @@ -29,13 +29,8 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" -#include "../lib/clcomm.h" #include "../lib/msg.h" #include "session.h" #include "lutil.h" diff --git a/mbcico/scanout.c b/mbcico/scanout.c index 9b73cf76..fa6113ae 100644 --- a/mbcico/scanout.c +++ b/mbcico/scanout.c @@ -4,7 +4,7 @@ * Purpose ...............: Fidonet mailer * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbftn.h" +#include "../lib/mbsedb.h" #include "config.h" #include "scanout.h" #include "lutil.h" diff --git a/mbcico/sendbark.c b/mbcico/sendbark.c index 1970c06e..0fbf7cb3 100644 --- a/mbcico/sendbark.c +++ b/mbcico/sendbark.c @@ -29,11 +29,8 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" -#include "../lib/clcomm.h" #include "ttyio.h" #include "session.h" #include "statetbl.h" diff --git a/mbcico/session.c b/mbcico/session.c index 5519db3c..2eda22ee 100644 --- a/mbcico/session.c +++ b/mbcico/session.c @@ -29,14 +29,8 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" -#include "../lib/mberrors.h" #include "ttyio.h" #include "statetbl.h" #include "emsi.h" diff --git a/mbcico/tcp.c b/mbcico/tcp.c index df57c34d..5af4c80c 100644 --- a/mbcico/tcp.c +++ b/mbcico/tcp.c @@ -4,7 +4,7 @@ * Purpose ...............: Fidonet mailer * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -33,11 +33,8 @@ */ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" -#include "../lib/clcomm.h" #include "ttyio.h" #include "session.h" #include "statetbl.h" diff --git a/mbcico/tcpproto.c b/mbcico/tcpproto.c index 6be24a17..4f380c53 100644 --- a/mbcico/tcpproto.c +++ b/mbcico/tcpproto.c @@ -4,7 +4,7 @@ * Purpose ...............: Fidonet mailer * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -33,12 +33,8 @@ */ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" -#include "../lib/mberrors.h" #include "ttyio.h" #include "session.h" #include "config.h" diff --git a/mbcico/telnet.c b/mbcico/telnet.c index 6db6803b..f97a149c 100644 --- a/mbcico/telnet.c +++ b/mbcico/telnet.c @@ -29,9 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/clcomm.h" -#include "../lib/mberrors.h" +#include "../lib/mbselib.h" #include "telnet.h" diff --git a/mbcico/ttyio.c b/mbcico/ttyio.c index a0081fdd..6fd20af5 100644 --- a/mbcico/ttyio.c +++ b/mbcico/ttyio.c @@ -32,12 +32,7 @@ * - Added if (inetaddr) code from T. Tanaka */ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "ttyio.h" #include "lutil.h" diff --git a/mbcico/ulock.c b/mbcico/ulock.c index 2ded85f3..38b4eea3 100644 --- a/mbcico/ulock.c +++ b/mbcico/ulock.c @@ -4,7 +4,7 @@ * Purpose ...............: Fidonet mailer * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,8 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #ifndef LOCKDIR #if defined(__FreeBSD__) || defined(__NetBSD__) diff --git a/mbcico/wazoo.c b/mbcico/wazoo.c index a127ceeb..4c36d1c1 100644 --- a/mbcico/wazoo.c +++ b/mbcico/wazoo.c @@ -29,12 +29,8 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" -#include "../lib/mberrors.h" #include "ttyio.h" #include "session.h" #include "statetbl.h" diff --git a/mbcico/xmrecv.c b/mbcico/xmrecv.c index fc812eb4..a229c732 100644 --- a/mbcico/xmrecv.c +++ b/mbcico/xmrecv.c @@ -29,11 +29,8 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" -#include "../lib/clcomm.h" #include "session.h" #include "ttyio.h" #include "statetbl.h" diff --git a/mbcico/xmsend.c b/mbcico/xmsend.c index 0fe8232c..4830c837 100644 --- a/mbcico/xmsend.c +++ b/mbcico/xmsend.c @@ -29,11 +29,8 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" -#include "../lib/clcomm.h" #include "session.h" #include "ttyio.h" #include "statetbl.h" diff --git a/mbcico/yoohoo.c b/mbcico/yoohoo.c index d817c1f2..5ad4bccd 100644 --- a/mbcico/yoohoo.c +++ b/mbcico/yoohoo.c @@ -37,15 +37,10 @@ */ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/clcomm.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" -#include "../lib/dbnode.h" -#include "../lib/mberrors.h" +#include "../lib/users.h" +#include "../lib/mbsedb.h" #include "statetbl.h" #include "ttyio.h" #include "session.h" diff --git a/mbcico/zmmisc.c b/mbcico/zmmisc.c index 855e3baa..9f50506e 100644 --- a/mbcico/zmmisc.c +++ b/mbcico/zmmisc.c @@ -63,11 +63,8 @@ static int zgeth1(void); static void garbitch(void); #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" -#include "../lib/clcomm.h" #include "ttyio.h" #include "session.h" #include "zmodem.h" diff --git a/mbcico/zmrecv.c b/mbcico/zmrecv.c index ca6cecb7..c1714638 100644 --- a/mbcico/zmrecv.c +++ b/mbcico/zmrecv.c @@ -29,10 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/clcomm.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" #include "lutil.h" #include "ttyio.h" diff --git a/mbcico/zmrle.c b/mbcico/zmrle.c index b3486e06..64894aa6 100644 --- a/mbcico/zmrle.c +++ b/mbcico/zmrle.c @@ -38,10 +38,7 @@ */ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/clcomm.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" #include "ttyio.h" #include "session.h" diff --git a/mbcico/zmsend.c b/mbcico/zmsend.c index 43ac7b51..91f441b4 100644 --- a/mbcico/zmsend.c +++ b/mbcico/zmsend.c @@ -29,10 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "../lib/nodelist.h" #include "ttyio.h" #include "session.h" diff --git a/mbfido/Makefile b/mbfido/Makefile index ea263b05..255531ce 100644 --- a/mbfido/Makefile +++ b/mbfido/Makefile @@ -41,15 +41,13 @@ MBDIFF_OBJS = mbdiff.o MBFILE_OBJS = mbfile.o mbfkill.o mbfutil.o mbfindex.o mbfcheck.o mbfpack.o mbflist.o mbfadopt.o \ mbfimport.o virscan.o mbftoberep.o mbfmove.o mbfdel.o mbfsort.o MBMSG_OBJS = post.o mbmsg.o -MBFIDO_LIBS = ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a \ - ../lib/libdbase.a ../lib/libdiesel.a ../lib/libmbinet.a ../lib/libnodelist.a -MBSEQ_LIBS = ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a -MBAFF_LIBS = ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a \ - ../lib/libdbase.a ../lib/libdiesel.a -MBINDEX_LIBS = ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a -MBDIFF_LIBS = ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a -MBFILE_LIBS = ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a ../lib/libdiesel.a -MBMSG_LIBS = ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a +MBFIDO_LIBS = ../lib/libmbse.a ../lib/libmsgbase.a ../lib/libdbase.a ../lib/libdiesel.a ../lib/libmbinet.a ../lib/libnodelist.a +MBSEQ_LIBS = ../lib/libmbse.a ../lib/libdbase.a +MBAFF_LIBS = ../lib/libmbse.a ../lib/libmsgbase.a ../lib/libdbase.a ../lib/libdiesel.a +MBINDEX_LIBS = ../lib/libmbse.a ../lib/libdbase.a +MBDIFF_LIBS = ../lib/libmbse.a ../lib/libdbase.a +MBFILE_LIBS = ../lib/libmbse.a ../lib/libdbase.a ../lib/libdiesel.a +MBMSG_LIBS = ../lib/libmbse.a ../lib/libmsgbase.a ../lib/libdbase.a OTHER = Makefile README TARGET = mbfido mbseq mbaff mbindex mbdiff mbfile mbmsg @@ -126,80 +124,80 @@ depend: # DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT # Dependencies generated by make depend -addbbs.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h tic.h fsort.h addbbs.h -backalias.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h backalias.h -flock.o: ../config.h ../lib/libs.h ../lib/clcomm.h flock.h -hatch.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbtic.h utic.h rollover.h hatch.h -mbdiff.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/mberrors.h mbdiff.h -mgrutil.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbnode.h ../lib/diesel.h sendmail.h rollover.h addpkt.h createm.h createf.h mgrutil.h -qualify.o: ../config.h ../lib/libs.h ../lib/structs.h qualify.h -ptic.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/dbtic.h ../lib/clcomm.h ../lib/dbnode.h ../lib/dbdupe.h unpack.h mover.h toberep.h tic.h utic.h addbbs.h magic.h forward.h rollover.h ptic.h magic.h createf.h virscan.h qualify.h -sendmail.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/dbnode.h ../lib/clcomm.h ../lib/dbmsgs.h addpkt.h rollover.h sendmail.h -tracker.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/nodelist.h ../lib/clcomm.h ../lib/dbnode.h ../lib/dbftn.h tracker.h -addpkt.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/clcomm.h ../lib/common.h ../lib/dbnode.h ../lib/dbmsgs.h addpkt.h -bwrite.o: ../config.h ../lib/libs.h bwrite.h -forward.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbnode.h ../lib/dbtic.h ../lib/diesel.h tic.h sendmail.h rollover.h mgrutil.h forward.h -lhash.o: ../config.h ../lib/libs.h ../lib/clcomm.h lhash.h -mbfido.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/nodelist.h ../lib/clcomm.h ../lib/dbdupe.h ../lib/dbcfg.h ../lib/dbnode.h ../lib/dbmsgs.h ../lib/dbuser.h ../lib/dbftn.h ../lib/dbtic.h ../lib/msg.h ../lib/mberrors.h flock.h tosspkt.h unpack.h tic.h fsort.h scan.h mbfido.h tracker.h notify.h rollover.h hatch.h scannews.h maketags.h makestat.h newspost.h rnews.h mgrutil.h backalias.h rfc2ftn.h dirsession.h dirlock.h queue.h -mkftnhdr.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h atoul.h hash.h msgflags.h aliasdb.h mkftnhdr.h -ping.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h ../lib/msgtext.h ../lib/dbcfg.h ../lib/dbnode.h ../lib/dbtic.h ../lib/dbdupe.h ../lib/dbuser.h ../lib/dbftn.h sendmail.h postnetmail.h ping.h -rfc2ftn.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/mbinet.h ../lib/dbdupe.h ../lib/dbnode.h ../lib/dbmsgs.h ../lib/msg.h ../lib/msgtext.h mkftnhdr.h hash.h rollover.h postnetmail.h postecho.h msgflags.h rfc2ftn.h -storeecho.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h ../lib/msgtext.h ../lib/dbmsgs.h ../lib/dbuser.h rollover.h storeecho.h -unpack.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h flock.h unpack.h -aliasdb.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h aliasdb.h -fsort.o: ../config.h ../lib/libs.h ../lib/clcomm.h fsort.h -magic.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbtic.h tic.h utic.h magic.h -mbfile.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/mberrors.h mbfkill.h mbfadopt.h mbfindex.h mbfcheck.h mbfpack.h mbflist.h mbfimport.h mbftoberep.h mbfmove.h mbfdel.h mbfutil.h mbfsort.h mbfile.h -mover.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h tic.h mover.h -post.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/msg.h ../lib/msgtext.h post.h -rnews.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/mbinet.h ../lib/dbdupe.h ../lib/dbnode.h ../lib/dbmsgs.h ../lib/msg.h ../lib/msgtext.h ../lib/mberrors.h rfc2ftn.h mbfido.h ../paths.h rnews.h -storenet.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h ../lib/msgtext.h ../lib/dbmsgs.h ../lib/dbuser.h msgflags.h rollover.h storenet.h -utic.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h tic.h mover.h tic.h utic.h -announce.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/msg.h ../lib/msgtext.h ../lib/diesel.h grlist.h msgutil.h announce.h -fflist.o: ../config.h ../lib/libs.h ../lib/clcomm.h ../lib/msg.h fflist.h -ftn2rfc.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/dbftn.h ../lib/dbdupe.h ../lib/dbuser.h ../lib/common.h ../lib/clcomm.h rollover.h aliasdb.h postemail.h backalias.h msgflags.h ftn2rfc.h -makestat.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/diesel.h ../lib/msg.h mgrutil.h makestat.h -mbindex.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/dbftn.h ../lib/mberrors.h mbindex.h -msgutil.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/msg.h ../lib/msgtext.h ../lib/diesel.h msgutil.h -postecho.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h ../lib/msgtext.h ../lib/dbcfg.h ../lib/dbnode.h ../lib/dbmsgs.h ../lib/dbdupe.h ../lib/dbuser.h ../lib/dbftn.h ftn2rfc.h postecho.h storeecho.h addpkt.h rollover.h qualify.h -rollover.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h rollover.h -tic.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/dbftn.h ../lib/clcomm.h unpack.h ptic.h fsort.h tic.h -areamgr.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h ../lib/msgtext.h ../lib/dbcfg.h ../lib/dbnode.h ../lib/dbmsgs.h ../lib/dbdupe.h ../lib/dbuser.h ../lib/dbftn.h ../lib/diesel.h sendmail.h mgrutil.h scan.h createm.h areamgr.h -filefind.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/msg.h ../lib/msgtext.h ../lib/diesel.h fflist.h filefind.h msgutil.h -grlist.o: ../config.h ../lib/libs.h ../lib/clcomm.h grlist.h -maketags.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h maketags.h -mbmsg.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h ../lib/dbcfg.h ../lib/mberrors.h post.h mbmsg.h -newspost.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/mbinet.h newspost.h -postemail.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/dbuser.h ../lib/common.h ../lib/clcomm.h ../lib/mbinet.h ../lib/msg.h postemail.h -scan.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/msg.h ../lib/clcomm.h ../lib/msgtext.h ../lib/dbnode.h ../lib/dbmsgs.h addpkt.h tracker.h ftn2rfc.h rfc2ftn.h rollover.h postemail.h scan.h -toberep.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h tic.h toberep.h -atoul.o: ../config.h ../lib/libs.h atoul.h -filemgr.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h ../lib/msgtext.h ../lib/dbcfg.h ../lib/dbnode.h ../lib/dbtic.h ../lib/dbdupe.h ../lib/dbuser.h ../lib/dbftn.h ../lib/diesel.h sendmail.h mgrutil.h createf.h filemgr.h -hash.o: ../config.h ../lib/libs.h hash.h lhash.h -mbaff.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/msg.h ../lib/mberrors.h announce.h filefind.h mbaff.h -mbseq.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h mbseq.h -notify.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h ../lib/msgtext.h ../lib/dbnode.h filemgr.h areamgr.h sendmail.h mgrutil.h notify.h -postnetmail.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/common.h ../lib/records.h ../lib/dbcfg.h ../lib/dbuser.h ../lib/dbnode.h ../lib/dbftn.h ../lib/clcomm.h ../lib/msg.h tracker.h addpkt.h storenet.h ftn2rfc.h areamgr.h filemgr.h ping.h bounce.h postemail.h -scannews.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/mbinet.h ../lib/dbdupe.h ../lib/dbnode.h ../lib/dbmsgs.h ../lib/msg.h ../lib/msgtext.h mkftnhdr.h hash.h rollover.h storeecho.h rfc2ftn.h scannews.h -tosspkt.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h ../lib/msgtext.h ../lib/dbcfg.h ../lib/dbnode.h ../lib/dbmsgs.h ../lib/dbdupe.h ../lib/dbuser.h ../lib/dbftn.h tosspkt.h postnetmail.h postecho.h rollover.h createm.h -mbfkill.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/mberrors.h mbfkill.h mbfutil.h -mbfutil.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/mberrors.h mbfutil.h mbfile.h -mbfindex.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/diesel.h ../lib/mberrors.h mbfutil.h mbfindex.h -mbfcheck.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/mberrors.h mbfutil.h mbfcheck.h -mbfpack.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/mberrors.h mbfutil.h mbfpack.h -mbflist.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/mberrors.h mbfutil.h mbflist.h -mbfadopt.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/mberrors.h virscan.h mbfutil.h mbflist.h -mbfimport.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/mberrors.h virscan.h mbfutil.h mbfimport.h -mbfsort.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/mberrors.h mbfutil.h mbfsort.h -virscan.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h virscan.h -mbftoberep.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h mbfutil.h mbftoberep.h -mbfmove.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/mberrors.h mbfutil.h mbfmove.h -mbfdel.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/mberrors.h mbfutil.h mbfmove.h -bounce.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h ../lib/msgtext.h ../lib/dbcfg.h ../lib/dbnode.h ../lib/dbtic.h ../lib/dbdupe.h ../lib/dbuser.h ../lib/dbftn.h sendmail.h postnetmail.h ping.h -createm.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h mgrutil.h createm.h -createf.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h mgrutil.h createf.h -msgflags.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/clcomm.h msgflags.h -dirsession.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h dirsession.h -queue.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbnode.h ../lib/dbftn.h fsort.h dirsession.h queue.h -dirlock.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h flock.h dirlock.h +addbbs.o: ../config.h ../lib/mbselib.h tic.h fsort.h addbbs.h +backalias.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h backalias.h +flock.o: ../config.h ../lib/mbselib.h flock.h +hatch.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h utic.h rollover.h hatch.h +mbdiff.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h mbdiff.h +mgrutil.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h ../lib/diesel.h sendmail.h rollover.h addpkt.h createm.h createf.h mgrutil.h +qualify.o: ../config.h ../lib/mbselib.h qualify.h +ptic.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h unpack.h mover.h toberep.h tic.h utic.h addbbs.h magic.h forward.h rollover.h ptic.h magic.h createf.h virscan.h qualify.h +sendmail.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h addpkt.h rollover.h sendmail.h +tracker.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/nodelist.h ../lib/mbsedb.h tracker.h +addpkt.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h addpkt.h +bwrite.o: ../config.h ../lib/mbselib.h bwrite.h +forward.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h ../lib/diesel.h tic.h sendmail.h rollover.h mgrutil.h forward.h +lhash.o: ../config.h ../lib/mbselib.h lhash.h +mbfido.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h ../lib/nodelist.h ../lib/mbsedb.h ../lib/msg.h flock.h tosspkt.h unpack.h tic.h fsort.h scan.h mbfido.h tracker.h notify.h rollover.h hatch.h scannews.h maketags.h makestat.h newspost.h rnews.h mgrutil.h backalias.h rfc2ftn.h dirsession.h dirlock.h queue.h +mkftnhdr.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h atoul.h hash.h msgflags.h aliasdb.h mkftnhdr.h +ping.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/msg.h ../lib/msgtext.h ../lib/mbsedb.h sendmail.h postnetmail.h ping.h +rfc2ftn.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbinet.h ../lib/mbsedb.h ../lib/msg.h ../lib/msgtext.h mkftnhdr.h hash.h rollover.h postnetmail.h postecho.h msgflags.h rfc2ftn.h +storeecho.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/msg.h ../lib/msgtext.h ../lib/mbsedb.h rollover.h storeecho.h +unpack.o: ../config.h ../lib/mbselib.h flock.h unpack.h +aliasdb.o: ../config.h ../lib/mbselib.h aliasdb.h +fsort.o: ../config.h ../lib/mbselib.h fsort.h +magic.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h tic.h utic.h magic.h +mbfile.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h mbfkill.h mbfadopt.h mbfindex.h mbfcheck.h mbfpack.h mbflist.h mbfimport.h mbftoberep.h mbfmove.h mbfdel.h mbfutil.h mbfsort.h mbfile.h +mover.o: ../config.h ../lib/mbselib.h tic.h mover.h +post.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h ../lib/msg.h ../lib/msgtext.h post.h +rnews.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbinet.h ../lib/mbsedb.h ../lib/msg.h ../lib/msgtext.h rfc2ftn.h mbfido.h ../paths.h rnews.h +storenet.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/msg.h ../lib/msgtext.h ../lib/mbsedb.h msgflags.h rollover.h storenet.h +utic.o: ../config.h ../lib/mbselib.h tic.h mover.h tic.h utic.h +announce.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h ../lib/msg.h ../lib/msgtext.h ../lib/diesel.h grlist.h msgutil.h announce.h +fflist.o: ../config.h ../lib/mbselib.h ../lib/msg.h fflist.h +ftn2rfc.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h rollover.h aliasdb.h postemail.h backalias.h msgflags.h ftn2rfc.h +makestat.o: ../config.h ../lib/mbselib.h ../lib/diesel.h ../lib/msg.h mgrutil.h makestat.h +mbindex.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h mbindex.h +msgutil.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h ../lib/msg.h ../lib/msgtext.h ../lib/diesel.h msgutil.h +postecho.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/msg.h ../lib/msgtext.h ../lib/mbsedb.h ftn2rfc.h postecho.h storeecho.h addpkt.h rollover.h qualify.h +rollover.o: ../config.h ../lib/mbselib.h rollover.h +tic.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h unpack.h ptic.h fsort.h tic.h +areamgr.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/msg.h ../lib/msgtext.h ../lib/mbsedb.h ../lib/diesel.h sendmail.h mgrutil.h scan.h createm.h areamgr.h +filefind.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h ../lib/msg.h ../lib/msgtext.h ../lib/diesel.h fflist.h filefind.h msgutil.h +grlist.o: ../config.h ../lib/mbselib.h grlist.h +maketags.o: ../config.h ../lib/mbselib.h maketags.h +mbmsg.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/msg.h ../lib/mbsedb.h post.h mbmsg.h +newspost.o: ../config.h ../lib/mbselib.h ../lib/mbinet.h newspost.h +postemail.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h ../lib/mbinet.h ../lib/msg.h postemail.h +scan.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/msg.h ../lib/msgtext.h ../lib/mbsedb.h addpkt.h tracker.h ftn2rfc.h rfc2ftn.h rollover.h postemail.h scan.h +toberep.o: ../config.h ../lib/mbselib.h tic.h toberep.h +atoul.o: ../config.h ../lib/mbselib.h atoul.h +filemgr.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/msg.h ../lib/msgtext.h ../lib/mbsedb.h ../lib/diesel.h sendmail.h mgrutil.h createf.h filemgr.h +hash.o: ../config.h ../lib/mbselib.h hash.h lhash.h +mbaff.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h ../lib/msg.h announce.h filefind.h mbaff.h +mbseq.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h mbseq.h +notify.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/msg.h ../lib/msgtext.h ../lib/mbsedb.h filemgr.h areamgr.h sendmail.h mgrutil.h notify.h +postnetmail.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h ../lib/msg.h tracker.h addpkt.h storenet.h ftn2rfc.h areamgr.h filemgr.h ping.h bounce.h postemail.h +scannews.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbinet.h ../lib/mbsedb.h ../lib/msg.h ../lib/msgtext.h mkftnhdr.h hash.h rollover.h storeecho.h rfc2ftn.h scannews.h +tosspkt.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/msg.h ../lib/msgtext.h ../lib/mbsedb.h tosspkt.h postnetmail.h postecho.h rollover.h createm.h +mbfkill.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h mbfkill.h mbfutil.h +mbfutil.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h mbfutil.h mbfile.h +mbfindex.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h ../lib/diesel.h mbfutil.h mbfindex.h +mbfcheck.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h mbfutil.h mbfcheck.h +mbfpack.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h mbfutil.h mbfpack.h +mbflist.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h mbfutil.h mbflist.h +mbfadopt.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h virscan.h mbfutil.h mbflist.h +mbfimport.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h virscan.h mbfutil.h mbfimport.h +mbfsort.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h mbfutil.h mbfsort.h +virscan.o: ../config.h ../lib/mbselib.h virscan.h +mbftoberep.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h mbfutil.h mbftoberep.h +mbfmove.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h mbfutil.h mbfmove.h +mbfdel.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h mbfutil.h mbfmove.h +bounce.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/msg.h ../lib/msgtext.h ../lib/mbsedb.h sendmail.h postnetmail.h ping.h +createm.o: ../config.h ../lib/mbselib.h ../lib/msg.h mgrutil.h createm.h +createf.o: ../config.h ../lib/mbselib.h mgrutil.h createf.h +msgflags.o: ../config.h ../lib/mbselib.h msgflags.h +dirsession.o: ../config.h ../lib/mbselib.h dirsession.h +queue.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h fsort.h dirsession.h queue.h +dirlock.o: ../config.h ../lib/mbselib.h flock.h dirlock.h # End of generated dependencies diff --git a/mbfido/addbbs.c b/mbfido/addbbs.c index 57d0a2a3..263e22b5 100644 --- a/mbfido/addbbs.c +++ b/mbfido/addbbs.c @@ -4,7 +4,7 @@ * Purpose ...............: Add TIC file to the BBS * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "tic.h" #include "fsort.h" #include "addbbs.h" diff --git a/mbfido/addpkt.c b/mbfido/addpkt.c index de3b7c9b..1f68e301 100644 --- a/mbfido/addpkt.c +++ b/mbfido/addpkt.c @@ -4,7 +4,7 @@ * Purpose ...............: Add mail to .pkt * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/clcomm.h" -#include "../lib/common.h" -#include "../lib/dbnode.h" -#include "../lib/dbmsgs.h" +#include "../lib/mbsedb.h" #include "addpkt.h" diff --git a/mbfido/aliasdb.c b/mbfido/aliasdb.c index dd771e91..aca42ed1 100644 --- a/mbfido/aliasdb.c +++ b/mbfido/aliasdb.c @@ -4,7 +4,7 @@ * Purpose ...............: Alias Database * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "aliasdb.h" diff --git a/mbfido/announce.c b/mbfido/announce.c index a5f498c9..8ab66dbe 100644 --- a/mbfido/announce.c +++ b/mbfido/announce.c @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" +#include "../lib/mbsedb.h" #include "../lib/msg.h" #include "../lib/msgtext.h" #include "../lib/diesel.h" diff --git a/mbfido/areamgr.c b/mbfido/areamgr.c index ee6af1a7..80a3548f 100644 --- a/mbfido/areamgr.c +++ b/mbfido/areamgr.c @@ -4,7 +4,7 @@ * Purpose ...............: AreaMgr * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,20 +29,11 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "../lib/msg.h" #include "../lib/msgtext.h" -#include "../lib/dbcfg.h" -#include "../lib/dbnode.h" -#include "../lib/dbmsgs.h" -#include "../lib/dbdupe.h" -#include "../lib/dbuser.h" -#include "../lib/dbftn.h" +#include "../lib/mbsedb.h" #include "../lib/diesel.h" #include "sendmail.h" #include "mgrutil.h" diff --git a/mbfido/atoul.c b/mbfido/atoul.c index a956f841..1ec0c9bc 100644 --- a/mbfido/atoul.c +++ b/mbfido/atoul.c @@ -1,11 +1,10 @@ /***************************************************************************** * - * File ..................: mbmail/atoul.c + * $Id$ * Purpose ...............: MBSE BBS Mail Gate - * Last modification date : 25-Aug-2000 * ***************************************************************************** - * Copyright (C) 1997-2000 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -30,7 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "atoul.h" diff --git a/mbfido/backalias.c b/mbfido/backalias.c index 8c0d0fa2..cad5397d 100644 --- a/mbfido/backalias.c +++ b/mbfido/backalias.c @@ -1,11 +1,10 @@ /***************************************************************************** * - * File ..................: mbfido/backalias.c + * $Id$ * Purpose ...............: Alias functions. - * Last modification date : 10-Jul-2001 * ***************************************************************************** - * Copyright (C) 1997-2001 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -30,11 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" +#include "../lib/mbselib.h" +#include "../lib/users.h" +#include "../lib/mbsedb.h" #include "backalias.h" diff --git a/mbfido/bounce.c b/mbfido/bounce.c index 30bb9e39..dcd0b4ae 100644 --- a/mbfido/bounce.c +++ b/mbfido/bounce.c @@ -4,7 +4,7 @@ * Purpose ...............: Bounce Netmail * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,20 +29,11 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "../lib/msg.h" #include "../lib/msgtext.h" -#include "../lib/dbcfg.h" -#include "../lib/dbnode.h" -#include "../lib/dbtic.h" -#include "../lib/dbdupe.h" -#include "../lib/dbuser.h" -#include "../lib/dbftn.h" +#include "../lib/mbsedb.h" #include "sendmail.h" #include "postnetmail.h" #include "ping.h" diff --git a/mbfido/bwrite.c b/mbfido/bwrite.c index 2d057be6..32e91f0c 100644 --- a/mbfido/bwrite.c +++ b/mbfido/bwrite.c @@ -1,11 +1,10 @@ /***************************************************************************** * - * File ..................: mbmail/bwrite.c + * $Id$ * Purpose ...............: MBSE BBS Mail Gate - * Last modification date : 28-Aug-2000 * ***************************************************************************** - * Copyright (C) 1997-2000 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -30,7 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "bwrite.h" diff --git a/mbfido/createf.c b/mbfido/createf.c index 56605952..5b492bf7 100644 --- a/mbfido/createf.c +++ b/mbfido/createf.c @@ -4,7 +4,7 @@ * Purpose ...............: Create TIC Area and BBS file area. * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "mgrutil.h" #include "createf.h" diff --git a/mbfido/createm.c b/mbfido/createm.c index 128d3e11..02cc6eed 100644 --- a/mbfido/createm.c +++ b/mbfido/createm.c @@ -4,7 +4,7 @@ * Purpose ...............: Create Message Area * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "../lib/msg.h" #include "mgrutil.h" #include "createm.h" diff --git a/mbfido/dirlock.c b/mbfido/dirlock.c index 57ec7643..484f029e 100644 --- a/mbfido/dirlock.c +++ b/mbfido/dirlock.c @@ -4,7 +4,7 @@ * Purpose ...............: Lock mbfido processing. * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "flock.h" #include "dirlock.h" diff --git a/mbfido/dirsession.c b/mbfido/dirsession.c index 420dffdc..10a341c3 100644 --- a/mbfido/dirsession.c +++ b/mbfido/dirsession.c @@ -4,7 +4,7 @@ * Purpose ...............: Directory Mail/Files sessions * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "dirsession.h" diff --git a/mbfido/fflist.c b/mbfido/fflist.c index 632c449e..329d44d8 100644 --- a/mbfido/fflist.c +++ b/mbfido/fflist.c @@ -1,11 +1,10 @@ /***************************************************************************** * - * File ..................: mbaff/fflist.c + * $Id$ * Purpose ...............: Announce new files and FileFind - * Last modification date : 27-Nov-1999 * ***************************************************************************** - * Copyright (C) 1997-1999 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:2801/16 * Beekmansbos 10 Internet: mbroek@ux123.pttnwb.nl @@ -30,8 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "../lib/msg.h" #include "fflist.h" @@ -120,7 +118,7 @@ void tidy_rflist(rf_list ** fdp) /* * Add a reply file to the array */ -void fill_rflist(rf_list **fdp, char *fname, unsigned long area) +void fill_rflist(rf_list **fdp, char *fname, unsigned long larea) { rf_list *tmp, *ta; @@ -130,7 +128,7 @@ void fill_rflist(rf_list **fdp, char *fname, unsigned long area) tmp = (rf_list *)malloc(sizeof(rf_list)); tmp->next = NULL; sprintf(tmp->filename, "%s", fname); - tmp->area = area; + tmp->area = larea; /* * New record goes at the end. diff --git a/mbfido/filefind.c b/mbfido/filefind.c index 968ad373..3230fcc3 100644 --- a/mbfido/filefind.c +++ b/mbfido/filefind.c @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" +#include "../lib/mbsedb.h" #include "../lib/msg.h" #include "../lib/msgtext.h" #include "../lib/diesel.h" diff --git a/mbfido/filemgr.c b/mbfido/filemgr.c index 8470f4b2..fde3b8bb 100644 --- a/mbfido/filemgr.c +++ b/mbfido/filemgr.c @@ -4,7 +4,7 @@ * Purpose ...............: FileMgr * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,20 +29,11 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "../lib/msg.h" #include "../lib/msgtext.h" -#include "../lib/dbcfg.h" -#include "../lib/dbnode.h" -#include "../lib/dbtic.h" -#include "../lib/dbdupe.h" -#include "../lib/dbuser.h" -#include "../lib/dbftn.h" +#include "../lib/mbsedb.h" #include "../lib/diesel.h" #include "sendmail.h" #include "mgrutil.h" diff --git a/mbfido/flock.c b/mbfido/flock.c index fb431f27..f1d5d130 100644 --- a/mbfido/flock.c +++ b/mbfido/flock.c @@ -1,11 +1,10 @@ /***************************************************************************** * - * File ..................: tosser/flock.c + * $Id$ * Purpose ...............: File locker - * Last modification date : 08-Feb-1999 * ***************************************************************************** - * Copyright (C) 1997-1999 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:2801/16 * Beekmansbos 10 Internet: mbroek@ux123.pttnwb.nl @@ -30,8 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "flock.h" diff --git a/mbfido/forward.c b/mbfido/forward.c index 29adee4a..8e911f24 100644 --- a/mbfido/forward.c +++ b/mbfido/forward.c @@ -4,7 +4,7 @@ * Purpose ...............: File forward to a node * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbnode.h" -#include "../lib/dbtic.h" +#include "../lib/mbsedb.h" #include "../lib/diesel.h" #include "tic.h" #include "sendmail.h" diff --git a/mbfido/fsort.c b/mbfido/fsort.c index 38ab17dc..7989378f 100644 --- a/mbfido/fsort.c +++ b/mbfido/fsort.c @@ -4,7 +4,7 @@ * Purpose ...............: File sort * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,8 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "fsort.h" diff --git a/mbfido/ftn2rfc.c b/mbfido/ftn2rfc.c index 8cca3383..118d2bc3 100644 --- a/mbfido/ftn2rfc.c +++ b/mbfido/ftn2rfc.c @@ -4,7 +4,7 @@ * Purpose ...............: Gate netmail->email or echomail->news * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,15 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/dbftn.h" -#include "../lib/dbdupe.h" -#include "../lib/dbuser.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbsedb.h" #include "rollover.h" #include "aliasdb.h" #include "postemail.h" diff --git a/mbfido/grlist.c b/mbfido/grlist.c index 71149e88..25b924f2 100644 --- a/mbfido/grlist.c +++ b/mbfido/grlist.c @@ -1,11 +1,10 @@ /***************************************************************************** * - * File ..................: mbaff/grlist.c + * $Id$ * Purpose ...............: Announce new files and FileFind - * Last modification date : 27-Nov-1999 * ***************************************************************************** - * Copyright (C) 1997-1999 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:2801/16 * Beekmansbos 10 Internet: mbroek@ux123.pttnwb.nl @@ -30,8 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "grlist.h" diff --git a/mbfido/hash.c b/mbfido/hash.c index bac31325..d25093fa 100644 --- a/mbfido/hash.c +++ b/mbfido/hash.c @@ -1,11 +1,10 @@ /***************************************************************************** * - * File ..................: mbmail/hash.c + * $Id$ * Purpose ...............: MBSE BBS Mail Gate - * Last modification date : 25-Aug-2000 * ***************************************************************************** - * Copyright (C) 1997-2000 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -30,7 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "hash.h" #include "lhash.h" diff --git a/mbfido/hatch.c b/mbfido/hatch.c index 2e2d7eee..2f402295 100644 --- a/mbfido/hatch.c +++ b/mbfido/hatch.c @@ -4,7 +4,7 @@ * Purpose ...............: Hatch files * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbtic.h" +#include "../lib/mbsedb.h" #include "utic.h" #include "rollover.h" #include "hatch.h" diff --git a/mbfido/lhash.c b/mbfido/lhash.c index 45f0cc6e..9b4886f1 100644 --- a/mbfido/lhash.c +++ b/mbfido/lhash.c @@ -4,7 +4,7 @@ * Purpose ...............: MBSE BBS Mail Gate * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,8 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "lhash.h" /* crypto/lhash/lhash.c */ diff --git a/mbfido/magic.c b/mbfido/magic.c index 34279a43..bac50151 100644 --- a/mbfido/magic.c +++ b/mbfido/magic.c @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbtic.h" +#include "../lib/mbsedb.h" #include "tic.h" #include "utic.h" #include "magic.h" diff --git a/mbfido/makestat.c b/mbfido/makestat.c index 49574dda..de6af5aa 100644 --- a/mbfido/makestat.c +++ b/mbfido/makestat.c @@ -4,7 +4,7 @@ * Purpose ...............: Make Web statistics * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "../lib/diesel.h" #include "../lib/msg.h" #include "mgrutil.h" diff --git a/mbfido/maketags.c b/mbfido/maketags.c index c8d510c8..da9243b8 100644 --- a/mbfido/maketags.c +++ b/mbfido/maketags.c @@ -4,7 +4,7 @@ * Purpose ...............: Make tag files * ***************************************************************************** - * Copyright (C) 1997-1999 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:2801/16 * Beekmansbos 10 Internet: mbroek@ux123.pttnwb.nl @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "maketags.h" diff --git a/mbfido/mbaff.c b/mbfido/mbaff.c index e89c9ca0..0d11335b 100644 --- a/mbfido/mbaff.c +++ b/mbfido/mbaff.c @@ -4,7 +4,7 @@ * Purpose ...............: Announce new files and FileFind * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,15 +29,10 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" +#include "../lib/mbsedb.h" #include "../lib/msg.h" -#include "../lib/mberrors.h" #include "announce.h" #include "filefind.h" #include "mbaff.h" @@ -98,7 +93,7 @@ int main(int argc, char **argv) struct tm *t; InitConfig(); - TermInit(1); + TermInit(1, 80, 25); t_start = time(NULL); t = localtime(&t_start); Diw = t->tm_wday; diff --git a/mbfido/mbdiff.c b/mbfido/mbdiff.c index eb7e9b4e..b2a33613 100644 --- a/mbfido/mbdiff.c +++ b/mbfido/mbdiff.c @@ -5,7 +5,7 @@ * Original ideas ........: Eugene G. Crosser. * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -30,14 +30,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" -#include "../lib/mberrors.h" +#include "../lib/mbsedb.h" #include "mbdiff.h" @@ -122,7 +117,7 @@ int main(int argc, char **argv) struct dirent *de; InitConfig(); - TermInit(1); + TermInit(1, 80, 25); t_start = time(NULL); umask(002); diff --git a/mbfido/mbfadopt.c b/mbfido/mbfadopt.c index 4ad55c2b..58d86500 100644 --- a/mbfido/mbfadopt.c +++ b/mbfido/mbfadopt.c @@ -4,7 +4,7 @@ * Purpose: File Database Maintenance - Adopt file * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" -#include "../lib/mberrors.h" +#include "../lib/mbsedb.h" #include "virscan.h" #include "mbfutil.h" #include "mbflist.h" diff --git a/mbfido/mbfcheck.c b/mbfido/mbfcheck.c index 3342c9b9..004001c5 100644 --- a/mbfido/mbfcheck.c +++ b/mbfido/mbfcheck.c @@ -4,7 +4,7 @@ * Purpose: File Database Maintenance - Check filebase * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" -#include "../lib/mberrors.h" +#include "../lib/mbsedb.h" #include "mbfutil.h" #include "mbfcheck.h" diff --git a/mbfido/mbfdel.c b/mbfido/mbfdel.c index f7a067c3..9a70fffa 100644 --- a/mbfido/mbfdel.c +++ b/mbfido/mbfdel.c @@ -4,7 +4,7 @@ * Purpose: File Database Maintenance - Delete/Undelete a file * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" -#include "../lib/mberrors.h" +#include "../lib/mbsedb.h" #include "mbfutil.h" #include "mbfmove.h" diff --git a/mbfido/mbfido.c b/mbfido/mbfido.c index 8ecd566b..78c5f081 100644 --- a/mbfido/mbfido.c +++ b/mbfido/mbfido.c @@ -29,23 +29,12 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" #include "../lib/nodelist.h" -#include "../lib/clcomm.h" -#include "../lib/dbdupe.h" -#include "../lib/dbcfg.h" -#include "../lib/dbnode.h" -#include "../lib/dbmsgs.h" -#include "../lib/dbuser.h" -#include "../lib/dbftn.h" -#include "../lib/dbtic.h" +#include "../lib/mbsedb.h" #include "../lib/msg.h" -#include "../lib/mberrors.h" #include "flock.h" #include "tosspkt.h" #include "unpack.h" @@ -308,7 +297,7 @@ int main(int argc, char **argv) InitTic(); InitUser(); InitFidonet(); - TermInit(1); + TermInit(1, 80, 25); t_start = time(NULL); t = localtime(&t_start); Diw = t->tm_wday; diff --git a/mbfido/mbfile.c b/mbfido/mbfile.c index bf0c497e..faaf40d4 100644 --- a/mbfido/mbfile.c +++ b/mbfido/mbfile.c @@ -4,7 +4,7 @@ * Purpose: File Database Maintenance * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" -#include "../lib/mberrors.h" +#include "../lib/mbsedb.h" #include "mbfkill.h" #include "mbfadopt.h" #include "mbfindex.h" @@ -80,7 +75,7 @@ int main(int argc, char **argv) struct passwd *pw; InitConfig(); - TermInit(1); + TermInit(1, 80, 25); t_start = time(NULL); umask(002); diff --git a/mbfido/mbfimport.c b/mbfido/mbfimport.c index feb4a904..4d1b92b3 100644 --- a/mbfido/mbfimport.c +++ b/mbfido/mbfimport.c @@ -4,7 +4,7 @@ * Purpose: File Database Maintenance - Import files with files.bbs * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" -#include "../lib/mberrors.h" +#include "../lib/mbsedb.h" #include "virscan.h" #include "mbfutil.h" #include "mbfimport.h" diff --git a/mbfido/mbfindex.c b/mbfido/mbfindex.c index 62402247..73df3713 100644 --- a/mbfido/mbfindex.c +++ b/mbfido/mbfindex.c @@ -29,15 +29,10 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" +#include "../lib/mbsedb.h" #include "../lib/diesel.h" -#include "../lib/mberrors.h" #include "mbfutil.h" #include "mbfindex.h" diff --git a/mbfido/mbfkill.c b/mbfido/mbfkill.c index 93c10546..e7635074 100644 --- a/mbfido/mbfkill.c +++ b/mbfido/mbfkill.c @@ -4,7 +4,7 @@ * Purpose: File Database Maintenance, kill or move old files * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" -#include "../lib/mberrors.h" +#include "../lib/mbsedb.h" #include "mbfkill.h" #include "mbfutil.h" diff --git a/mbfido/mbflist.c b/mbfido/mbflist.c index 1b0dfcfd..c433a380 100644 --- a/mbfido/mbflist.c +++ b/mbfido/mbflist.c @@ -4,7 +4,7 @@ * Purpose: File Database Maintenance - List areas and totals * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" -#include "../lib/mberrors.h" +#include "../lib/mbsedb.h" #include "mbfutil.h" #include "mbflist.h" diff --git a/mbfido/mbfmove.c b/mbfido/mbfmove.c index dc77e9f4..af28ed89 100644 --- a/mbfido/mbfmove.c +++ b/mbfido/mbfmove.c @@ -4,7 +4,7 @@ * Purpose: File Database Maintenance - Move a file * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" -#include "../lib/mberrors.h" +#include "../lib/mbsedb.h" #include "mbfutil.h" #include "mbfmove.h" diff --git a/mbfido/mbfpack.c b/mbfido/mbfpack.c index 89561a63..45a1602d 100644 --- a/mbfido/mbfpack.c +++ b/mbfido/mbfpack.c @@ -4,7 +4,7 @@ * Purpose: File Database Maintenance - Pack filebase * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" -#include "../lib/mberrors.h" +#include "../lib/mbsedb.h" #include "mbfutil.h" #include "mbfpack.h" diff --git a/mbfido/mbfsort.c b/mbfido/mbfsort.c index 6b92a5d0..136ff4ca 100644 --- a/mbfido/mbfsort.c +++ b/mbfido/mbfsort.c @@ -4,7 +4,7 @@ * Purpose: File Database Maintenance - Sort filebase * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" -#include "../lib/mberrors.h" +#include "../lib/mbsedb.h" #include "mbfutil.h" #include "mbfsort.h" diff --git a/mbfido/mbftoberep.c b/mbfido/mbftoberep.c index 33c71314..fe12492e 100644 --- a/mbfido/mbftoberep.c +++ b/mbfido/mbftoberep.c @@ -4,7 +4,7 @@ * Purpose: File Database Maintenance - Show toberep database * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" +#include "../lib/mbsedb.h" #include "mbfutil.h" #include "mbftoberep.h" diff --git a/mbfido/mbfutil.c b/mbfido/mbfutil.c index 30cea500..3286a7c0 100644 --- a/mbfido/mbfutil.c +++ b/mbfido/mbfutil.c @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" -#include "../lib/mberrors.h" +#include "../lib/mbsedb.h" #include "mbfutil.h" #include "mbfile.h" diff --git a/mbfido/mbindex.c b/mbfido/mbindex.c index c63de8d8..21897db7 100644 --- a/mbfido/mbindex.c +++ b/mbfido/mbindex.c @@ -29,15 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" -#include "../lib/dbftn.h" -#include "../lib/mberrors.h" +#include "../lib/mbsedb.h" typedef struct _nl_list { @@ -142,7 +136,7 @@ int main(int argc,char *argv[]) InitConfig(); InitFidonet(); - TermInit(1); + TermInit(1, 80, 25); t_start = time(NULL); umask(002); diff --git a/mbfido/mbmsg.c b/mbfido/mbmsg.c index 4c75086a..d692af2e 100644 --- a/mbfido/mbmsg.c +++ b/mbfido/mbmsg.c @@ -29,15 +29,10 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "../lib/msg.h" -#include "../lib/dbcfg.h" -#include "../lib/mberrors.h" +#include "../lib/mbsedb.h" #include "post.h" #include "mbmsg.h" @@ -90,7 +85,7 @@ int main(int argc, char **argv) InitConfig(); - TermInit(1); + TermInit(1, 80, 25); oldmask = umask(007); t_start = time(NULL); diff --git a/mbfido/mbseq.c b/mbfido/mbseq.c index 854458e4..03d5831d 100644 --- a/mbfido/mbseq.c +++ b/mbfido/mbseq.c @@ -4,7 +4,7 @@ * Purpose ...............: give a hexadecimal sequence to stdout * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" +#include "../lib/mbsedb.h" #include "mbseq.h" diff --git a/mbfido/mgrutil.c b/mbfido/mgrutil.c index b3ebb205..d548cd22 100644 --- a/mbfido/mgrutil.c +++ b/mbfido/mgrutil.c @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbnode.h" +#include "../lib/mbsedb.h" #include "../lib/diesel.h" #include "sendmail.h" #include "rollover.h" diff --git a/mbfido/mkftnhdr.c b/mbfido/mkftnhdr.c index 455ba35c..142db548 100644 --- a/mbfido/mkftnhdr.c +++ b/mbfido/mkftnhdr.c @@ -4,7 +4,7 @@ * Purpose ...............: MBSE BBS Mail Gate * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -42,13 +42,9 @@ */ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" +#include "../lib/mbsedb.h" #include "atoul.h" #include "hash.h" #include "msgflags.h" diff --git a/mbfido/mover.c b/mbfido/mover.c index 0abed7fb..d2ac3ed6 100644 --- a/mbfido/mover.c +++ b/mbfido/mover.c @@ -4,7 +4,7 @@ * Purpose ...............: Bad file mover * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:2801/16 * Beekmansbos 10 Internet: mbroek@ux123.pttnwb.nl @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "tic.h" #include "mover.h" diff --git a/mbfido/msgflags.c b/mbfido/msgflags.c index 0a8f5053..a2e0228f 100644 --- a/mbfido/msgflags.c +++ b/mbfido/msgflags.c @@ -4,7 +4,7 @@ * Purpose ...............: MBSE BBS Mail Gate * ***************************************************************************** - * Copyright (C) 1997-2001 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,9 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "msgflags.h" diff --git a/mbfido/msgutil.c b/mbfido/msgutil.c index b532adf6..44ee041e 100644 --- a/mbfido/msgutil.c +++ b/mbfido/msgutil.c @@ -4,7 +4,7 @@ * Purpose ...............: Announce new files and FileFind * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" +#include "../lib/mbsedb.h" #include "../lib/msg.h" #include "../lib/msgtext.h" #include "../lib/diesel.h" diff --git a/mbfido/newspost.c b/mbfido/newspost.c index e361913a..04439762 100644 --- a/mbfido/newspost.c +++ b/mbfido/newspost.c @@ -4,7 +4,7 @@ * Purpose ...............: Post newsarticles in temp newsfile. * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 Internet: mbroek@users.sourceforge.net @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "../lib/mbinet.h" #include "newspost.h" diff --git a/mbfido/notify.c b/mbfido/notify.c index 82aeef32..dfb40442 100644 --- a/mbfido/notify.c +++ b/mbfido/notify.c @@ -4,7 +4,7 @@ * Purpose ...............: Write notify messages. * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,15 +29,11 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "../lib/msg.h" #include "../lib/msgtext.h" -#include "../lib/dbnode.h" +#include "../lib/mbsedb.h" #include "filemgr.h" #include "areamgr.h" #include "sendmail.h" diff --git a/mbfido/ping.c b/mbfido/ping.c index 158d1584..a5eafee5 100644 --- a/mbfido/ping.c +++ b/mbfido/ping.c @@ -4,7 +4,7 @@ * Purpose ...............: Ping Service * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,20 +29,11 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "../lib/msg.h" #include "../lib/msgtext.h" -#include "../lib/dbcfg.h" -#include "../lib/dbnode.h" -#include "../lib/dbtic.h" -#include "../lib/dbdupe.h" -#include "../lib/dbuser.h" -#include "../lib/dbftn.h" +#include "../lib/mbsedb.h" #include "sendmail.h" #include "postnetmail.h" #include "ping.h" diff --git a/mbfido/post.c b/mbfido/post.c index bf1b8bd7..7d67fe08 100644 --- a/mbfido/post.c +++ b/mbfido/post.c @@ -4,7 +4,7 @@ * Purpose ...............: Post a message from a file. * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" +#include "../lib/mbsedb.h" #include "../lib/msg.h" #include "../lib/msgtext.h" #include "post.h" diff --git a/mbfido/postecho.c b/mbfido/postecho.c index bf7a0c66..b364018c 100644 --- a/mbfido/postecho.c +++ b/mbfido/postecho.c @@ -4,7 +4,7 @@ * Purpose ...............: Post echomail message. * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,20 +29,11 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "../lib/msg.h" #include "../lib/msgtext.h" -#include "../lib/dbcfg.h" -#include "../lib/dbnode.h" -#include "../lib/dbmsgs.h" -#include "../lib/dbdupe.h" -#include "../lib/dbuser.h" -#include "../lib/dbftn.h" +#include "../lib/mbsedb.h" #include "ftn2rfc.h" #include "postecho.h" #include "storeecho.h" diff --git a/mbfido/postemail.c b/mbfido/postemail.c index 3e723ebb..71834737 100644 --- a/mbfido/postemail.c +++ b/mbfido/postemail.c @@ -4,7 +4,7 @@ * Purpose ...............: Post Email message from temp file * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/dbuser.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbsedb.h" #include "../lib/mbinet.h" #include "../lib/msg.h" #include "postemail.h" diff --git a/mbfido/postnetmail.c b/mbfido/postnetmail.c index 75e038cc..4c38dfd0 100644 --- a/mbfido/postnetmail.c +++ b/mbfido/postnetmail.c @@ -4,7 +4,7 @@ * Purpose ...............: Post Netmail message from temp file * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,16 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/common.h" -#include "../lib/records.h" -#include "../lib/dbcfg.h" -#include "../lib/dbuser.h" -#include "../lib/dbnode.h" -#include "../lib/dbftn.h" -#include "../lib/clcomm.h" +#include "../lib/mbsedb.h" #include "../lib/msg.h" #include "tracker.h" #include "addpkt.h" diff --git a/mbfido/ptic.c b/mbfido/ptic.c index 2df7c2f6..3b7f6404 100644 --- a/mbfido/ptic.c +++ b/mbfido/ptic.c @@ -29,15 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/dbtic.h" -#include "../lib/clcomm.h" -#include "../lib/dbnode.h" -#include "../lib/dbdupe.h" +#include "../lib/mbsedb.h" #include "unpack.h" #include "mover.h" #include "toberep.h" diff --git a/mbfido/qualify.c b/mbfido/qualify.c index fff1cf50..724eac36 100644 --- a/mbfido/qualify.c +++ b/mbfido/qualify.c @@ -4,7 +4,7 @@ * Purpose ...............: List of qualified systems * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,8 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "qualify.h" diff --git a/mbfido/queue.c b/mbfido/queue.c index 05857607..6861f852 100644 --- a/mbfido/queue.c +++ b/mbfido/queue.c @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbnode.h" -#include "../lib/dbftn.h" +#include "../lib/mbsedb.h" #include "fsort.h" #include "dirsession.h" #include "queue.h" diff --git a/mbfido/rfc2ftn.c b/mbfido/rfc2ftn.c index 46f6f329..983f40e3 100644 --- a/mbfido/rfc2ftn.c +++ b/mbfido/rfc2ftn.c @@ -4,7 +4,7 @@ * Purpose ...............: Convert RFC to FTN * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,16 +29,10 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "../lib/mbinet.h" -#include "../lib/dbdupe.h" -#include "../lib/dbnode.h" -#include "../lib/dbmsgs.h" +#include "../lib/mbsedb.h" #include "../lib/msg.h" #include "../lib/msgtext.h" #include "mkftnhdr.h" diff --git a/mbfido/rnews.c b/mbfido/rnews.c index 9f1b9162..29445c44 100644 --- a/mbfido/rnews.c +++ b/mbfido/rnews.c @@ -5,7 +5,7 @@ * Remarks ...............: Most of these functions are borrowed from inn. * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -30,19 +30,12 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "../lib/mbinet.h" -#include "../lib/dbdupe.h" -#include "../lib/dbnode.h" -#include "../lib/dbmsgs.h" +#include "../lib/mbsedb.h" #include "../lib/msg.h" #include "../lib/msgtext.h" -#include "../lib/mberrors.h" #include "rfc2ftn.h" #include "mbfido.h" #include "../paths.h" diff --git a/mbfido/rollover.c b/mbfido/rollover.c index 3670d4de..208f3863 100644 --- a/mbfido/rollover.c +++ b/mbfido/rollover.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "rollover.h" diff --git a/mbfido/scan.c b/mbfido/scan.c index 519333a3..d8091cb4 100644 --- a/mbfido/scan.c +++ b/mbfido/scan.c @@ -29,16 +29,11 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" #include "../lib/msg.h" -#include "../lib/clcomm.h" #include "../lib/msgtext.h" -#include "../lib/dbnode.h" -#include "../lib/dbmsgs.h" +#include "../lib/mbsedb.h" #include "addpkt.h" #include "tracker.h" #include "ftn2rfc.h" diff --git a/mbfido/scannews.c b/mbfido/scannews.c index ab92e2dc..60d25252 100644 --- a/mbfido/scannews.c +++ b/mbfido/scannews.c @@ -29,16 +29,10 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "../lib/mbinet.h" -#include "../lib/dbdupe.h" -#include "../lib/dbnode.h" -#include "../lib/dbmsgs.h" +#include "../lib/mbsedb.h" #include "../lib/msg.h" #include "../lib/msgtext.h" #include "mkftnhdr.h" diff --git a/mbfido/sendmail.c b/mbfido/sendmail.c index a5f0bb82..4002be24 100644 --- a/mbfido/sendmail.c +++ b/mbfido/sendmail.c @@ -4,7 +4,7 @@ * Purpose ...............: Output a netmail to one of our links. * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/dbnode.h" -#include "../lib/clcomm.h" -#include "../lib/dbmsgs.h" +#include "../lib/mbsedb.h" #include "addpkt.h" #include "rollover.h" #include "sendmail.h" diff --git a/mbfido/storeecho.c b/mbfido/storeecho.c index 6de11239..359d1758 100644 --- a/mbfido/storeecho.c +++ b/mbfido/storeecho.c @@ -4,7 +4,7 @@ * Purpose ...............: Import a echomail message * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,16 +29,11 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "../lib/msg.h" #include "../lib/msgtext.h" -#include "../lib/dbmsgs.h" -#include "../lib/dbuser.h" +#include "../lib/mbsedb.h" #include "rollover.h" #include "storeecho.h" diff --git a/mbfido/storenet.c b/mbfido/storenet.c index d32ce44f..fda73084 100644 --- a/mbfido/storenet.c +++ b/mbfido/storenet.c @@ -4,7 +4,7 @@ * Purpose ...............: Import a netmail message in the message base. * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,16 +29,11 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "../lib/msg.h" #include "../lib/msgtext.h" -#include "../lib/dbmsgs.h" -#include "../lib/dbuser.h" +#include "../lib/mbsedb.h" #include "msgflags.h" #include "rollover.h" #include "storenet.h" diff --git a/mbfido/tic.c b/mbfido/tic.c index a754eb5b..b39f9f27 100644 --- a/mbfido/tic.c +++ b/mbfido/tic.c @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/dbftn.h" -#include "../lib/clcomm.h" +#include "../lib/mbsedb.h" #include "unpack.h" #include "ptic.h" #include "fsort.h" diff --git a/mbfido/toberep.c b/mbfido/toberep.c index 749561a6..78ce99d2 100644 --- a/mbfido/toberep.c +++ b/mbfido/toberep.c @@ -4,7 +4,7 @@ * Purpose ...............: Add a file to the To-Be-Reported database * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "tic.h" diff --git a/mbfido/tosspkt.c b/mbfido/tosspkt.c index 02155c81..c9b11657 100644 --- a/mbfido/tosspkt.c +++ b/mbfido/tosspkt.c @@ -29,20 +29,11 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "../lib/msg.h" #include "../lib/msgtext.h" -#include "../lib/dbcfg.h" -#include "../lib/dbnode.h" -#include "../lib/dbmsgs.h" -#include "../lib/dbdupe.h" -#include "../lib/dbuser.h" -#include "../lib/dbftn.h" +#include "../lib/mbsedb.h" #include "tosspkt.h" #include "postnetmail.h" #include "postecho.h" diff --git a/mbfido/tracker.c b/mbfido/tracker.c index eff28544..a36799c9 100644 --- a/mbfido/tracker.c +++ b/mbfido/tracker.c @@ -4,7 +4,7 @@ * Purpose ...............: Netmail tracker / router * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,15 +29,10 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" #include "../lib/nodelist.h" -#include "../lib/clcomm.h" -#include "../lib/dbnode.h" -#include "../lib/dbftn.h" +#include "../lib/mbsedb.h" #include "tracker.h" diff --git a/mbfido/unpack.c b/mbfido/unpack.c index 58104877..38000344 100644 --- a/mbfido/unpack.c +++ b/mbfido/unpack.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "flock.h" #include "unpack.h" diff --git a/mbfido/utic.c b/mbfido/utic.c index 21a51266..af811ec4 100644 --- a/mbfido/utic.c +++ b/mbfido/utic.c @@ -4,7 +4,7 @@ * Purpose ...............: Utilities for tic processing * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "tic.h" #include "mover.h" #include "tic.h" diff --git a/mbfido/virscan.c b/mbfido/virscan.c index 8351c270..4cdb6a17 100644 --- a/mbfido/virscan.c +++ b/mbfido/virscan.c @@ -4,7 +4,7 @@ * Purpose ...............: Scan for virusses * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "virscan.h" diff --git a/mbmon/mbmon.c b/mbmon/mbmon.c index 48828341..6b761786 100644 --- a/mbmon/mbmon.c +++ b/mbmon/mbmon.c @@ -700,9 +700,8 @@ void Chat(int sysop) int main(int argc, char *argv[]) { struct passwd *pw; - char buf[128], *temp; + char buf[128]; int rc; - FILE *fp; /* diff --git a/mbmon/mutil.c b/mbmon/mutil.c index caa9529f..f9461f1c 100644 --- a/mbmon/mutil.c +++ b/mbmon/mutil.c @@ -459,7 +459,7 @@ void screen_start(char *name) { int i; - TermInit(1); + TermInit(1, columns, lines); /* * Overwrite screen the first time, if user had it black on white * it will change to white on black. clear() won't do the trick. diff --git a/mbsebbs/Makefile b/mbsebbs/Makefile index c9a89198..f1d47831 100644 --- a/mbsebbs/Makefile +++ b/mbsebbs/Makefile @@ -27,23 +27,21 @@ MBSEBBS_OBJS = signature.o bbslist.o chat.o file.o funcs.o mail.o menu.o \ exitinfo.o filesub.o lineedit.o offline.o language.o msgutil.o \ pop3.o email.o input.o whoson.o door.o dispfile.o userlist.o timestats.o \ logentry.o morefile.o lastcallers.o -MBSEBBS_LIBS = ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a \ - ../lib/libdbase.a ../lib/libmbinet.a ../lib/libnodelist.a +MBSEBBS_LIBS = ../lib/libmbse.a ../lib/libmsgbase.a ../lib/libdbase.a ../lib/libmbinet.a ../lib/libnodelist.a MBNEWUSR_OBJS = mbnewusr.o newuser.o language.o timeout.o dispfile.o oneline.o \ timecheck.o input.o exitinfo.o funcs.o misc.o change.o door.o \ filesub.o mail.o email.o msgutil.o pop3.o lineedit.o fsedit.o whoson.o -MBNEWUSR_LIBS = ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a \ - ../lib/libdbase.a ../lib/libmbinet.a ../lib/libnodelist.a +MBNEWUSR_LIBS = ../lib/libmbse.a ../lib/libmsgbase.a ../lib/libdbase.a ../lib/libmbinet.a ../lib/libnodelist.a MBALL_OBJS = mball.o -MBALL_LIBS = ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a +MBALL_LIBS = ../lib/libmbse.a ../lib/libdbase.a MBLANG_OBJS = mblang.o -MBLANG_LIBS = ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a +MBLANG_LIBS = ../lib/libmbse.a ../lib/libdbase.a MBSTAT_OBJS = mbstat.o -MBSTAT_LIBS = ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a +MBSTAT_LIBS = ../lib/libmbse.a ../lib/libdbase.a MBTOBE_OBJS = mbtoberep.o -MBTOBE_LIBS = ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a +MBTOBE_LIBS = ../lib/libmbse.a ../lib/libdbase.a MBUSER_OBJS = mbuser.o -MBUSER_LIBS = ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a +MBUSER_LIBS = ../lib/libmbse.a ../lib/libdbase.a OTHER = Makefile TARGET = mbsebbs mbnewusr mball mblang mbstat mbtoberep mbuser @@ -120,46 +118,46 @@ depend: # DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT # Dependencies generated by make depend -signature.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/ansi.h ../lib/clcomm.h ../lib/common.h signature.h funcs.h input.h language.h timeout.h -filesub.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h filesub.h funcs.h language.h input.h misc.h timeout.h exitinfo.h change.h -language.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/mberrors.h input.h language.h -mbtoberep.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/mberrors.h -msgutil.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msgtext.h ../lib/msg.h oneline.h msgutil.h -oneline.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h oneline.h funcs.h input.h language.h -bbslist.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/clcomm.h ../lib/common.h bbslist.h funcs.h input.h language.h -morefile.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/clcomm.h ../lib/common.h input.h language.h morefile.h timeout.h -email.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/msgtext.h ../lib/msg.h ../lib/common.h ../lib/clcomm.h ../lib/mbinet.h exitinfo.h language.h mail.h timeout.h msgutil.h input.h email.h whoson.h -fsedit.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/ansi.h ../lib/common.h ../lib/clcomm.h mail.h input.h language.h timeout.h pinfo.h fsedit.h -lineedit.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h mail.h input.h language.h timeout.h lineedit.h -mblang.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/mberrors.h -mbuser.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/mberrors.h mbuser.h -page.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h dispfile.h input.h chat.h page.h timeout.h mail.h language.h -bye.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/clcomm.h ../lib/common.h ../lib/mberrors.h ../lib/nodelist.h dispfile.h misc.h language.h bye.h -funcs.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/msgtext.h ../lib/msg.h ../lib/clcomm.h ../lib/mberrors.h funcs.h -mail.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/nodelist.h ../lib/msgtext.h ../lib/clcomm.h ../lib/msg.h mail.h funcs.h input.h language.h misc.h timeout.h oneline.h exitinfo.h lineedit.h fsedit.h filesub.h msgutil.h pop3.h email.h door.h whoson.h -newuser.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/clcomm.h ../lib/common.h ../lib/mberrors.h funcs.h input.h newuser.h language.h timeout.h change.h dispfile.h -pinfo.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h pinfo.h input.h -timecheck.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/clcomm.h ../lib/common.h ../lib/mberrors.h timecheck.h funcs.h bye.h exitinfo.h language.h input.h -change.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h change.h dispfile.h funcs.h input.h language.h misc.h timeout.h exitinfo.h bye.h -exitinfo.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h funcs.h input.h language.h oneline.h misc.h bye.h timeout.h timecheck.h exitinfo.h -mball.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/mbse.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/dbcfg.h ../lib/clcomm.h ../lib/mberrors.h mball.h -mbsebbs.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h ../lib/mberrors.h mbsebbs.h user.h dispfile.h language.h menu.h misc.h bye.h timeout.h funcs.h -menu.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/mberrors.h oneline.h mail.h bbslist.h change.h chat.h file.h funcs.h input.h misc.h timeout.h menu.h page.h pinfo.h bye.h timecheck.h whoson.h language.h offline.h email.h door.h dispfile.h userlist.h timestats.h logentry.h morefile.h lastcallers.h signature.h -pop3.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/mbinet.h ../lib/msgtext.h ../lib/msg.h msgutil.h pop3.h -lastcallers.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/clcomm.h ../lib/common.h input.h language.h lastcallers.h -timeout.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h timeout.h funcs.h bye.h filesub.h language.h -chat.o: ../config.h ../lib/libs.h ../lib/ansi.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/mberrors.h chat.h funcs.h input.h language.h misc.h whoson.h -file.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h filesub.h file.h funcs.h input.h language.h misc.h timeout.h exitinfo.h whoson.h change.h dispfile.h -mbstat.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/mberrors.h mbstat.h -misc.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/clcomm.h ../lib/common.h ../lib/mberrors.h funcs.h input.h language.h misc.h timeout.h exitinfo.h -offline.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/mbse.h ../lib/users.h ../lib/records.h ../lib/bluewave.h ../lib/common.h ../lib/clcomm.h ../lib/msgtext.h ../lib/msg.h mail.h funcs.h input.h language.h file.h filesub.h exitinfo.h timeout.h msgutil.h pop3.h offline.h whoson.h -user.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/mberrors.h timeout.h user.h dispfile.h funcs.h input.h misc.h bye.h file.h mail.h change.h menu.h exitinfo.h language.h offline.h email.h -mbnewusr.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/mberrors.h mbnewusr.h funcs.h input.h language.h misc.h timeout.h newuser.h -input.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/clcomm.h ../lib/common.h ../lib/mberrors.h input.h timeout.h language.h -whoson.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h input.h language.h exitinfo.h whoson.h -door.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/mberrors.h language.h input.h timeout.h exitinfo.h whoson.h door.h -dispfile.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/msgtext.h ../lib/msg.h ../lib/clcomm.h funcs.h language.h oneline.h misc.h timeout.h timecheck.h exitinfo.h mail.h email.h input.h dispfile.h filesub.h -userlist.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h userlist.h language.h input.h timeout.h -timestats.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h timestats.h funcs.h language.h input.h exitinfo.h -logentry.o: ../config.h ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h logentry.h +signature.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h signature.h funcs.h input.h language.h timeout.h +filesub.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h filesub.h funcs.h language.h input.h misc.h timeout.h exitinfo.h change.h +language.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h input.h language.h +mbtoberep.o: ../config.h ../lib/mbselib.h +msgutil.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h ../lib/msgtext.h ../lib/msg.h oneline.h msgutil.h +oneline.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h oneline.h funcs.h input.h language.h +bbslist.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h bbslist.h funcs.h input.h language.h +morefile.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h input.h language.h morefile.h timeout.h +email.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h ../lib/msgtext.h ../lib/msg.h ../lib/mbinet.h exitinfo.h language.h mail.h timeout.h msgutil.h input.h email.h whoson.h +fsedit.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h mail.h input.h language.h timeout.h pinfo.h fsedit.h +lineedit.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h mail.h input.h language.h timeout.h lineedit.h +mblang.o: ../config.h ../lib/mbselib.h +mbuser.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h mbuser.h +page.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h dispfile.h input.h chat.h page.h timeout.h mail.h language.h +bye.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h ../lib/nodelist.h dispfile.h misc.h language.h bye.h +funcs.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h ../lib/msgtext.h ../lib/msg.h funcs.h +mail.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h ../lib/nodelist.h ../lib/msgtext.h ../lib/msg.h mail.h funcs.h input.h language.h misc.h timeout.h oneline.h exitinfo.h lineedit.h fsedit.h filesub.h msgutil.h pop3.h email.h door.h whoson.h +newuser.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h funcs.h input.h newuser.h language.h timeout.h change.h dispfile.h +pinfo.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h pinfo.h input.h +timecheck.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h timecheck.h funcs.h bye.h exitinfo.h language.h input.h +change.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h change.h dispfile.h funcs.h input.h language.h misc.h timeout.h exitinfo.h bye.h +exitinfo.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h funcs.h input.h language.h oneline.h misc.h bye.h timeout.h timecheck.h exitinfo.h +mball.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h ../lib/mbsedb.h mball.h +mbsebbs.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h ../lib/msg.h mbsebbs.h user.h dispfile.h language.h menu.h misc.h bye.h timeout.h funcs.h +menu.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h oneline.h mail.h bbslist.h change.h chat.h file.h funcs.h input.h misc.h timeout.h menu.h page.h pinfo.h bye.h timecheck.h whoson.h language.h offline.h email.h door.h dispfile.h userlist.h timestats.h logentry.h morefile.h lastcallers.h signature.h +pop3.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h ../lib/mbinet.h ../lib/msgtext.h ../lib/msg.h msgutil.h pop3.h +lastcallers.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h input.h language.h lastcallers.h +timeout.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h ../lib/msg.h timeout.h funcs.h bye.h filesub.h language.h +chat.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h chat.h funcs.h input.h language.h misc.h whoson.h +file.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h filesub.h file.h funcs.h input.h language.h misc.h timeout.h exitinfo.h whoson.h change.h dispfile.h +mbstat.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h mbstat.h +misc.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h funcs.h input.h language.h misc.h timeout.h exitinfo.h +offline.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h ../lib/bluewave.h ../lib/msgtext.h ../lib/msg.h mail.h funcs.h input.h language.h file.h filesub.h exitinfo.h timeout.h msgutil.h pop3.h offline.h whoson.h +user.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h timeout.h user.h dispfile.h funcs.h input.h misc.h bye.h file.h mail.h change.h menu.h exitinfo.h language.h offline.h email.h +mbnewusr.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h mbnewusr.h funcs.h input.h language.h misc.h timeout.h newuser.h +input.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h input.h timeout.h language.h +whoson.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h input.h language.h exitinfo.h whoson.h +door.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h language.h input.h timeout.h exitinfo.h whoson.h door.h +dispfile.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h ../lib/msgtext.h ../lib/msg.h funcs.h language.h oneline.h misc.h timeout.h timecheck.h exitinfo.h mail.h email.h input.h dispfile.h filesub.h +userlist.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h userlist.h language.h input.h timeout.h +timestats.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h timestats.h funcs.h language.h input.h exitinfo.h +logentry.o: ../config.h ../lib/mbselib.h ../lib/mbse.h ../lib/users.h logentry.h # End of generated dependencies diff --git a/mbsebbs/bbslist.c b/mbsebbs/bbslist.c index 693ef5c3..500fd543 100644 --- a/mbsebbs/bbslist.c +++ b/mbsebbs/bbslist.c @@ -7,7 +7,7 @@ * Intro New BBS at logon * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -32,13 +32,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/clcomm.h" -#include "../lib/common.h" #include "bbslist.h" #include "funcs.h" #include "input.h" diff --git a/mbsebbs/bye.c b/mbsebbs/bye.c index fa61ba87..599a85ff 100644 --- a/mbsebbs/bye.c +++ b/mbsebbs/bye.c @@ -4,7 +4,7 @@ * Purpose ...............: Hangup functions * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/clcomm.h" -#include "../lib/common.h" -#include "../lib/mberrors.h" #include "../lib/nodelist.h" #include "dispfile.h" #include "misc.h" diff --git a/mbsebbs/change.c b/mbsebbs/change.c index cf53ef9b..2ed60ecf 100644 --- a/mbsebbs/change.c +++ b/mbsebbs/change.c @@ -4,7 +4,7 @@ * Purpose ...............: Change user settings * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "change.h" #include "dispfile.h" #include "funcs.h" @@ -608,7 +604,7 @@ void Chg_Graphics() Syslog('+', "Graphics mode now %s", exitinfo.GraphMode?"On":"Off"); Enter(2); - TermInit(exitinfo.GraphMode); + TermInit(exitinfo.GraphMode, 80, exitinfo.iScreenLen); WriteExitinfo(); sleep(2); } @@ -727,6 +723,7 @@ void Chg_ScreenLen() printf("\n%s%d\n\n", (char *) Language(81), exitinfo.iScreenLen); } + TermInit(exitinfo.GraphMode, 80, exitinfo.iScreenLen); Syslog('+', "New screenlen %d", exitinfo.iScreenLen); WriteExitinfo(); Pause(); diff --git a/mbsebbs/chat.c b/mbsebbs/chat.c index f113c010..eb3c4fd1 100644 --- a/mbsebbs/chat.c +++ b/mbsebbs/chat.c @@ -4,7 +4,7 @@ * Purpose ...............: Sysop to user chat utility * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,15 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/ansi.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/mberrors.h" #include "chat.h" #include "funcs.h" #include "input.h" diff --git a/mbsebbs/dispfile.c b/mbsebbs/dispfile.c index 1abc8795..b4b3ef5b 100644 --- a/mbsebbs/dispfile.c +++ b/mbsebbs/dispfile.c @@ -4,7 +4,7 @@ * Purpose ...............: Display ANSI/ASCII textfiles * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,15 +29,11 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" #include "../lib/msgtext.h" #include "../lib/msg.h" -#include "../lib/clcomm.h" #include "funcs.h" #include "language.h" #include "oneline.h" diff --git a/mbsebbs/door.c b/mbsebbs/door.c index 0edb6c11..67a44303 100644 --- a/mbsebbs/door.c +++ b/mbsebbs/door.c @@ -4,7 +4,7 @@ * Purpose ...............: Run external door * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/mberrors.h" #include "language.h" #include "input.h" #include "timeout.h" diff --git a/mbsebbs/email.c b/mbsebbs/email.c index 35a53ab6..68c7f9f2 100644 --- a/mbsebbs/email.c +++ b/mbsebbs/email.c @@ -4,7 +4,7 @@ * Purpose ...............: Internet email * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,15 +29,11 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" #include "../lib/msgtext.h" #include "../lib/msg.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "../lib/mbinet.h" #include "exitinfo.h" #include "language.h" diff --git a/mbsebbs/exitinfo.c b/mbsebbs/exitinfo.c index d507dd90..4196c44b 100644 --- a/mbsebbs/exitinfo.c +++ b/mbsebbs/exitinfo.c @@ -4,7 +4,7 @@ * Purpose ...............: Exitinfo functions * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "funcs.h" #include "input.h" #include "language.h" diff --git a/mbsebbs/file.c b/mbsebbs/file.c index 005f7180..954c75cd 100644 --- a/mbsebbs/file.c +++ b/mbsebbs/file.c @@ -4,7 +4,7 @@ * Purpose ...............: All the file functions. * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "filesub.h" #include "file.h" #include "funcs.h" diff --git a/mbsebbs/filesub.c b/mbsebbs/filesub.c index bf988851..01b3dce4 100644 --- a/mbsebbs/filesub.c +++ b/mbsebbs/filesub.c @@ -4,7 +4,7 @@ * Purpose ...............: All the file sub functions. * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "filesub.h" #include "funcs.h" #include "language.h" diff --git a/mbsebbs/fsedit.c b/mbsebbs/fsedit.c index b65bde1f..01a443fa 100644 --- a/mbsebbs/fsedit.c +++ b/mbsebbs/fsedit.c @@ -4,7 +4,7 @@ * Purpose ...............: FullScreen Message editor. * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/ansi.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "mail.h" #include "input.h" #include "language.h" diff --git a/mbsebbs/funcs.c b/mbsebbs/funcs.c index c825b26e..12491046 100644 --- a/mbsebbs/funcs.c +++ b/mbsebbs/funcs.c @@ -4,7 +4,7 @@ * Purpose ...............: Misc functions * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,16 +29,11 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" #include "../lib/msgtext.h" #include "../lib/msg.h" -#include "../lib/clcomm.h" -#include "../lib/mberrors.h" #include "funcs.h" diff --git a/mbsebbs/input.c b/mbsebbs/input.c index 8c8a7a15..7656f673 100644 --- a/mbsebbs/input.c +++ b/mbsebbs/input.c @@ -4,7 +4,7 @@ * Purpose ...............: Input functions, also for some utils. * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/clcomm.h" -#include "../lib/common.h" -#include "../lib/mberrors.h" #include "input.h" #include "timeout.h" #include "language.h" diff --git a/mbsebbs/language.c b/mbsebbs/language.c index 0d5ec51e..818e2f79 100644 --- a/mbsebbs/language.c +++ b/mbsebbs/language.c @@ -4,7 +4,7 @@ * Purpose ...............: Language functions. * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/mberrors.h" #include "input.h" #include "language.h" diff --git a/mbsebbs/lastcallers.c b/mbsebbs/lastcallers.c index 268bba1c..5d18bc0c 100644 --- a/mbsebbs/lastcallers.c +++ b/mbsebbs/lastcallers.c @@ -4,7 +4,7 @@ * Purpose ...............: Display Last Callers * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/clcomm.h" -#include "../lib/common.h" #include "input.h" #include "language.h" #include "lastcallers.h" diff --git a/mbsebbs/lineedit.c b/mbsebbs/lineedit.c index 3ad5e59b..da8de4fe 100644 --- a/mbsebbs/lineedit.c +++ b/mbsebbs/lineedit.c @@ -4,7 +4,7 @@ * Purpose ...............: Message line editor. * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "mail.h" #include "input.h" #include "language.h" diff --git a/mbsebbs/logentry.c b/mbsebbs/logentry.c index d6a5fe33..510e4488 100644 --- a/mbsebbs/logentry.c +++ b/mbsebbs/logentry.c @@ -4,7 +4,7 @@ * Purpose ...............: Make a log entry * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "logentry.h" diff --git a/mbsebbs/mail.c b/mbsebbs/mail.c index ab0f9a67..1663a35a 100644 --- a/mbsebbs/mail.c +++ b/mbsebbs/mail.c @@ -5,7 +5,7 @@ * Todo ..................: Implement message groups. * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -36,15 +36,11 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" #include "../lib/nodelist.h" #include "../lib/msgtext.h" -#include "../lib/clcomm.h" #include "../lib/msg.h" #include "mail.h" #include "funcs.h" diff --git a/mbsebbs/mball.c b/mbsebbs/mball.c index bbffd507..f1d8a837 100644 --- a/mbsebbs/mball.c +++ b/mbsebbs/mball.c @@ -29,15 +29,10 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/dbcfg.h" -#include "../lib/clcomm.h" -#include "../lib/mberrors.h" +#include "../lib/mbsedb.h" #include "mball.h" @@ -137,7 +132,7 @@ int main(int argc, char **argv) struct passwd *pw; InitConfig(); - TermInit(1); + TermInit(1, 80, 24); t_start = time(NULL); umask(000); diff --git a/mbsebbs/mblang.c b/mbsebbs/mblang.c index 3071aa5b..410a662c 100644 --- a/mbsebbs/mblang.c +++ b/mbsebbs/mblang.c @@ -4,7 +4,7 @@ * Purpose ...............: Language Compiler * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,11 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/mberrors.h" +#include "../lib/mbselib.h" int main(int argc, char **argv) diff --git a/mbsebbs/mbnewusr.c b/mbsebbs/mbnewusr.c index 6cce90ef..71cd66be 100644 --- a/mbsebbs/mbnewusr.c +++ b/mbsebbs/mbnewusr.c @@ -4,7 +4,7 @@ * Purpose ...............: New user registration * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/mberrors.h" #include "mbnewusr.h" #include "funcs.h" #include "input.h" @@ -152,7 +147,7 @@ int main(int argc, char **argv) * Default set the terminal to ANSI mode. If your logo * is in color, the user will see color no mather what. */ - TermInit(1); + TermInit(1, 80, 24); /* * Now it's time to check if the bbs is open. If not, we diff --git a/mbsebbs/mbsebbs.c b/mbsebbs/mbsebbs.c index 8604c2b2..aa49df24 100644 --- a/mbsebbs/mbsebbs.c +++ b/mbsebbs/mbsebbs.c @@ -4,7 +4,7 @@ * Purpose ...............: Main startup * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,15 +29,10 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "../lib/msg.h" -#include "../lib/mberrors.h" #include "mbsebbs.h" #include "user.h" #include "dispfile.h" @@ -153,7 +148,7 @@ int main(int argc, char **argv) * Default set the terminal to ANSI mode. If your logo * is in color, the user will see color no mather what. */ - TermInit(1); + TermInit(1, 80, 24); /* * Now it's time to check if the bbs is open. If not, we diff --git a/mbsebbs/mbstat.c b/mbsebbs/mbstat.c index b341772b..e31b85db 100644 --- a/mbsebbs/mbstat.c +++ b/mbsebbs/mbstat.c @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" -#include "../lib/mberrors.h" +#include "../lib/mbsedb.h" #include "mbstat.h" @@ -113,7 +108,7 @@ int main(int argc, char **argv) struct passwd *pw; InitConfig(); - TermInit(1); + TermInit(1, 80, 24); t_start = time(NULL); /* diff --git a/mbsebbs/mbtoberep.c b/mbsebbs/mbtoberep.c index 707db290..0845b2a0 100644 --- a/mbsebbs/mbtoberep.c +++ b/mbsebbs/mbtoberep.c @@ -4,7 +4,7 @@ * Purpose ...............: Show contents of toberep.data * ***************************************************************************** - * Copyright (C) 1997-2001 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,9 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/mberrors.h" +#include "../lib/mbselib.h" int main(int argc, char **argv) diff --git a/mbsebbs/mbuser.c b/mbsebbs/mbuser.c index fc31a69f..6e00669b 100644 --- a/mbsebbs/mbuser.c +++ b/mbsebbs/mbuser.c @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/dbcfg.h" -#include "../lib/mberrors.h" +#include "../lib/mbsedb.h" #include "mbuser.h" @@ -57,7 +52,7 @@ int main(int argc, char **argv) struct passwd *pw; InitConfig(); - TermInit(1); + TermInit(1, 80, 24); Days = 0; Level = 0; diff --git a/mbsebbs/menu.c b/mbsebbs/menu.c index b3c9bc97..4ba4e50d 100644 --- a/mbsebbs/menu.c +++ b/mbsebbs/menu.c @@ -4,7 +4,7 @@ * Purpose ...............: Display and handle the menus. * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/mberrors.h" #include "oneline.h" #include "mail.h" #include "bbslist.h" diff --git a/mbsebbs/misc.c b/mbsebbs/misc.c index b4144dee..d4bbd0d6 100644 --- a/mbsebbs/misc.c +++ b/mbsebbs/misc.c @@ -4,7 +4,7 @@ * Purpose ...............: Misc functions * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/clcomm.h" -#include "../lib/common.h" -#include "../lib/mberrors.h" #include "funcs.h" #include "input.h" #include "language.h" diff --git a/mbsebbs/morefile.c b/mbsebbs/morefile.c index cf21a915..d6605481 100644 --- a/mbsebbs/morefile.c +++ b/mbsebbs/morefile.c @@ -4,7 +4,7 @@ * Purpose ...............: Display file with more * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/clcomm.h" -#include "../lib/common.h" #include "input.h" #include "language.h" #include "morefile.h" diff --git a/mbsebbs/msgutil.c b/mbsebbs/msgutil.c index 200afe61..34516776 100644 --- a/mbsebbs/msgutil.c +++ b/mbsebbs/msgutil.c @@ -4,7 +4,7 @@ * Purpose ...............: Utilities for message handling. * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "../lib/msgtext.h" #include "../lib/msg.h" #include "oneline.h" diff --git a/mbsebbs/newuser.c b/mbsebbs/newuser.c index 92b1091d..88fdc98b 100644 --- a/mbsebbs/newuser.c +++ b/mbsebbs/newuser.c @@ -5,7 +5,7 @@ * BBS and unix accounts. * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -30,14 +30,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/clcomm.h" -#include "../lib/common.h" -#include "../lib/mberrors.h" #include "funcs.h" #include "input.h" #include "newuser.h" @@ -211,7 +206,7 @@ int newuser() Enter(1); } exitinfo.GraphMode = usrconfig.GraphMode; - TermInit(exitinfo.GraphMode); + TermInit(exitinfo.GraphMode, 80, 24); if (CFG.iVoicePhone) { while (1) { @@ -466,6 +461,7 @@ int newuser() else usrconfig.iScreenLen = atoi(temp); + TermInit(usrconfig.GraphMode, 80, usrconfig.iScreenLen); alarm_on(); usrconfig.tLastPwdChange = ltime; /* Days Since Last Password Change */ diff --git a/mbsebbs/offline.c b/mbsebbs/offline.c index d64c2bec..e03e5884 100644 --- a/mbsebbs/offline.c +++ b/mbsebbs/offline.c @@ -29,14 +29,10 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" #include "../lib/users.h" -#include "../lib/records.h" #include "../lib/bluewave.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "../lib/msgtext.h" #include "../lib/msg.h" #include "mail.h" diff --git a/mbsebbs/oneline.c b/mbsebbs/oneline.c index 7953d221..70c5033f 100644 --- a/mbsebbs/oneline.c +++ b/mbsebbs/oneline.c @@ -4,7 +4,7 @@ * Purpose ...............: Oneliner functions. * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "oneline.h" #include "funcs.h" #include "input.h" diff --git a/mbsebbs/page.c b/mbsebbs/page.c index 06c9e027..4b6c436b 100644 --- a/mbsebbs/page.c +++ b/mbsebbs/page.c @@ -5,7 +5,7 @@ * Todo ..................: Implement new config settings. * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -30,13 +30,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "dispfile.h" #include "input.h" #include "chat.h" diff --git a/mbsebbs/pinfo.c b/mbsebbs/pinfo.c index 0a7dbc4f..29a2d27b 100644 --- a/mbsebbs/pinfo.c +++ b/mbsebbs/pinfo.c @@ -4,7 +4,7 @@ * Purpose ...............: Product information * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "pinfo.h" #include "input.h" diff --git a/mbsebbs/pop3.c b/mbsebbs/pop3.c index 44d0f122..524a61bf 100644 --- a/mbsebbs/pop3.c +++ b/mbsebbs/pop3.c @@ -4,7 +4,7 @@ * Purpose ...............: POP3 client * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "../lib/mbinet.h" #include "../lib/msgtext.h" #include "../lib/msg.h" diff --git a/mbsebbs/signature.c b/mbsebbs/signature.c index 9a987bb8..14572b9e 100644 --- a/mbsebbs/signature.c +++ b/mbsebbs/signature.c @@ -4,7 +4,7 @@ * Purpose ...............: Edit message signature. * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/ansi.h" -#include "../lib/clcomm.h" -#include "../lib/common.h" #include "signature.h" #include "funcs.h" #include "input.h" diff --git a/mbsebbs/timecheck.c b/mbsebbs/timecheck.c index 528ecefe..c8b351a9 100644 --- a/mbsebbs/timecheck.c +++ b/mbsebbs/timecheck.c @@ -4,7 +4,7 @@ * Purpose ...............: Timecheck functions * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,14 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/clcomm.h" -#include "../lib/common.h" -#include "../lib/mberrors.h" #include "timecheck.h" #include "funcs.h" #include "bye.h" diff --git a/mbsebbs/timeout.c b/mbsebbs/timeout.c index c2cb9416..fbcf2fed 100644 --- a/mbsebbs/timeout.c +++ b/mbsebbs/timeout.c @@ -4,7 +4,7 @@ * Purpose ...............: Inactivity timeout functions * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "../lib/msg.h" #include "timeout.h" #include "funcs.h" diff --git a/mbsebbs/timestats.c b/mbsebbs/timestats.c index 3f04eb39..9b03e209 100644 --- a/mbsebbs/timestats.c +++ b/mbsebbs/timestats.c @@ -4,7 +4,7 @@ * Purpose ...............: Time Statistics * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,12 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" #include "timestats.h" #include "funcs.h" #include "language.h" diff --git a/mbsebbs/user.c b/mbsebbs/user.c index af43c093..0bef2931 100644 --- a/mbsebbs/user.c +++ b/mbsebbs/user.c @@ -6,7 +6,7 @@ * does a lot of checking in general. * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -31,14 +31,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/mberrors.h" #include "timeout.h" #include "user.h" #include "dispfile.h" @@ -256,7 +251,7 @@ void user() UserCity(mypid, usrconfig.Name, usrconfig.sLocation); else UserCity(mypid, usrconfig.Name, (char *)"N/A"); - TermInit(usrconfig.GraphMode); + TermInit(usrconfig.GraphMode, 80, usrconfig.iScreenLen); /* * Count simultaneous logins diff --git a/mbsebbs/userlist.c b/mbsebbs/userlist.c index 2c188eb0..523a04ae 100644 --- a/mbsebbs/userlist.c +++ b/mbsebbs/userlist.c @@ -4,7 +4,7 @@ * Purpose ...............: Display Userlist * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "userlist.h" #include "language.h" #include "input.h" diff --git a/mbsebbs/whoson.c b/mbsebbs/whoson.c index 7e685a10..0995012d 100644 --- a/mbsebbs/whoson.c +++ b/mbsebbs/whoson.c @@ -4,7 +4,7 @@ * Purpose ...............: Who's online functions * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,13 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" +#include "../lib/mbselib.h" #include "../lib/mbse.h" -#include "../lib/structs.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "input.h" #include "language.h" #include "exitinfo.h" diff --git a/mbsetup/Makefile b/mbsetup/Makefile index a9ce7957..be2c1095 100644 --- a/mbsetup/Makefile +++ b/mbsetup/Makefile @@ -22,7 +22,7 @@ OBJS = grlist.o m_domain.o m_fgroup.o m_lang.o m_marea.o m_new.o m_protocol.o \ m_magic.o m_mgroup.o m_node.o m_task.o m_users.o screen.o m_bbs.o m_ff.o \ m_hatch.o m_mail.o m_modem.o m_ol.o m_tic.o m_virus.o stlist.o m_bbslist.o \ m_route.o -LIBS += ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a +LIBS += ../lib/libmbse.a ../lib/libmsgbase.a ../lib/libdbase.a OTHER = Makefile ############################################################################# @@ -71,42 +71,42 @@ depend: # DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT # Dependencies generated by make depend -grlist.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h screen.h grlist.h ledit.h -m_domain.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h m_global.h m_menu.h m_domain.h -m_fgroup.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_global.h m_node.h m_archive.h m_ngroup.h m_ticarea.h m_fgroup.h -m_lang.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_global.h m_lang.h -m_marea.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.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/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.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_protocol.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/clcomm.h ../lib/common.h ../paths.h screen.h mutil.h ledit.h stlist.h m_global.h m_protocol.h -m_ticarea.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.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/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/mberrors.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 -ledit.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h screen.h mutil.h ledit.h -m_farea.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h m_global.h m_fgroup.h m_archive.h m_farea.h m_fgroup.h m_ngroup.h -m_fido.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_global.h m_fido.h -m_limits.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_global.h m_limits.h -m_menu.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h mutil.h screen.h ledit.h m_lang.h m_menu.h -m_ngroup.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_global.h m_ngroup.h -m_service.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_global.h m_service.h -m_tty.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_modem.h m_global.h m_tty.h -mutil.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h ../lib/mberrors.h screen.h mutil.h -m_archive.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../paths.h screen.h mutil.h ledit.h stlist.h m_global.h m_archive.h -m_fdb.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h m_global.h m_farea.h m_fdb.h -m_global.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/mberrors.h screen.h mutil.h ledit.h m_node.h m_marea.h m_ticarea.h m_new.h m_fgroup.h m_mgroup.h m_global.h -m_magic.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_ticarea.h m_global.h m_magic.h -m_mgroup.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_global.h m_node.h m_marea.h m_mgroup.h -m_node.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h grlist.h stlist.h m_global.h m_lang.h m_ticarea.h m_marea.h m_node.h -m_task.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h m_task.h -m_users.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h m_lang.h m_global.h m_archive.h m_protocol.h m_users.h -screen.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/ansi.h ../lib/common.h ../lib/clcomm.h screen.h -m_bbs.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/common.h screen.h mutil.h ledit.h m_lang.h m_protocol.h m_ol.h m_fgroup.h m_farea.h m_menu.h m_bbs.h m_bbslist.h m_limits.h -m_ff.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/clcomm.h ../lib/common.h screen.h mutil.h ledit.h stlist.h m_global.h m_ff.h m_lang.h m_marea.h -m_hatch.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_global.h m_fgroup.h m_ticarea.h m_hatch.h -m_mail.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h screen.h mutil.h ledit.h m_global.h m_marea.h m_mgroup.h m_mail.h -m_modem.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_global.h m_modem.h -m_ol.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h m_global.h m_ol.h -m_tic.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/common.h screen.h mutil.h ledit.h m_fgroup.h m_ticarea.h m_magic.h m_hatch.h m_tic.h -m_virus.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/clcomm.h ../lib/common.h ../paths.h screen.h mutil.h ledit.h stlist.h m_global.h m_virus.h -stlist.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h stlist.h -m_bbslist.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h m_global.h m_bbslist.h -m_route.o: ../config.h ../lib/libs.h ../lib/structs.h ../lib/users.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_global.h grlist.h m_node.h m_route.h +grlist.o: ../config.h ../lib/mbselib.h screen.h grlist.h ledit.h +m_domain.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h m_global.h m_menu.h m_domain.h +m_fgroup.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h stlist.h m_global.h m_node.h m_archive.h m_ngroup.h m_ticarea.h m_fgroup.h +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 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_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 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 +ledit.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/msg.h screen.h mutil.h ledit.h +m_farea.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h m_global.h m_fgroup.h m_archive.h m_farea.h m_fgroup.h m_ngroup.h +m_fido.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h stlist.h m_global.h m_fido.h +m_limits.o: ../config.h ../lib/mbselib.h ../lib/users.h screen.h mutil.h ledit.h stlist.h m_global.h m_limits.h +m_menu.o: ../config.h ../lib/mbselib.h mutil.h screen.h ledit.h m_lang.h m_menu.h +m_ngroup.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h stlist.h m_global.h m_ngroup.h +m_service.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h stlist.h m_global.h m_service.h +m_tty.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h stlist.h m_modem.h m_global.h m_tty.h +mutil.o: ../config.h ../lib/mbselib.h screen.h mutil.h +m_archive.o: ../config.h ../lib/mbselib.h ../paths.h screen.h mutil.h ledit.h stlist.h m_global.h m_archive.h +m_fdb.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h m_global.h m_farea.h m_fdb.h +m_global.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h m_node.h m_marea.h m_ticarea.h m_new.h m_fgroup.h m_mgroup.h m_global.h +m_magic.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h stlist.h m_ticarea.h m_global.h m_magic.h +m_mgroup.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h stlist.h m_global.h m_node.h m_marea.h m_mgroup.h +m_node.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h grlist.h stlist.h m_global.h m_lang.h m_ticarea.h m_marea.h m_node.h +m_task.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h m_task.h +m_users.o: ../config.h ../lib/mbselib.h ../lib/users.h screen.h mutil.h ledit.h m_lang.h m_global.h m_archive.h m_protocol.h m_users.h +screen.o: ../config.h ../lib/mbselib.h screen.h +m_bbs.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h m_lang.h m_protocol.h m_ol.h m_fgroup.h m_farea.h m_menu.h m_bbs.h m_bbslist.h m_limits.h +m_ff.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h stlist.h m_global.h m_ff.h m_lang.h m_marea.h +m_hatch.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h stlist.h m_global.h m_fgroup.h m_ticarea.h m_hatch.h +m_mail.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h m_global.h m_marea.h m_mgroup.h m_mail.h +m_modem.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h stlist.h m_global.h m_modem.h +m_ol.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h m_global.h m_ol.h +m_tic.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h m_fgroup.h m_ticarea.h m_magic.h m_hatch.h m_tic.h +m_virus.o: ../config.h ../lib/mbselib.h ../paths.h screen.h mutil.h ledit.h stlist.h m_global.h m_virus.h +stlist.o: ../config.h ../lib/mbselib.h stlist.h +m_bbslist.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h m_global.h m_bbslist.h +m_route.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h stlist.h m_global.h grlist.h m_node.h m_route.h # End of generated dependencies diff --git a/mbsetup/grlist.c b/mbsetup/grlist.c index b7f8c5a1..6ec7a13d 100644 --- a/mbsetup/grlist.c +++ b/mbsetup/grlist.c @@ -4,7 +4,7 @@ * Purpose ...............: Group Listing utils * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,10 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "screen.h" #include "grlist.h" #include "ledit.h" diff --git a/mbsetup/ledit.c b/mbsetup/ledit.c index e756fd71..07e2b241 100644 --- a/mbsetup/ledit.c +++ b/mbsetup/ledit.c @@ -29,12 +29,8 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "../lib/msg.h" #include "screen.h" #include "mutil.h" diff --git a/mbsetup/m_archive.c b/mbsetup/m_archive.c index 2199b2a1..e1f54420 100644 --- a/mbsetup/m_archive.c +++ b/mbsetup/m_archive.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "../paths.h" #include "screen.h" #include "mutil.h" diff --git a/mbsetup/m_bbs.c b/mbsetup/m_bbs.c index ae6fca16..08543c42 100644 --- a/mbsetup/m_bbs.c +++ b/mbsetup/m_bbs.c @@ -4,7 +4,7 @@ * Purpose ...............: BBS Setup Program * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,9 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_bbslist.c b/mbsetup/m_bbslist.c index 39796c2d..4460e2d6 100644 --- a/mbsetup/m_bbslist.c +++ b/mbsetup/m_bbslist.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_domain.c b/mbsetup/m_domain.c index 915b6147..7cb42224 100644 --- a/mbsetup/m_domain.c +++ b/mbsetup/m_domain.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_farea.c b/mbsetup/m_farea.c index 28b8b6a5..7dde392c 100644 --- a/mbsetup/m_farea.c +++ b/mbsetup/m_farea.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_fdb.c b/mbsetup/m_fdb.c index 881e0ab6..11536cc9 100644 --- a/mbsetup/m_fdb.c +++ b/mbsetup/m_fdb.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_ff.c b/mbsetup/m_ff.c index efa8fe61..7577a172 100644 --- a/mbsetup/m_ff.c +++ b/mbsetup/m_ff.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/clcomm.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_fgroup.c b/mbsetup/m_fgroup.c index 12a76e65..95b1038f 100644 --- a/mbsetup/m_fgroup.c +++ b/mbsetup/m_fgroup.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_fido.c b/mbsetup/m_fido.c index 4af3d635..00b4b130 100644 --- a/mbsetup/m_fido.c +++ b/mbsetup/m_fido.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_global.c b/mbsetup/m_global.c index 3a942e04..14c14ab1 100644 --- a/mbsetup/m_global.c +++ b/mbsetup/m_global.c @@ -29,13 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/mberrors.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_hatch.c b/mbsetup/m_hatch.c index e14291c3..3b34b092 100644 --- a/mbsetup/m_hatch.c +++ b/mbsetup/m_hatch.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_lang.c b/mbsetup/m_lang.c index 4bcdfeb0..25d547c0 100644 --- a/mbsetup/m_lang.c +++ b/mbsetup/m_lang.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_limits.c b/mbsetup/m_limits.c index 542eacfd..40d6b5ab 100644 --- a/mbsetup/m_limits.c +++ b/mbsetup/m_limits.c @@ -29,12 +29,8 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_magic.c b/mbsetup/m_magic.c index 4c6e77f5..f6557abe 100644 --- a/mbsetup/m_magic.c +++ b/mbsetup/m_magic.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_mail.c b/mbsetup/m_mail.c index 349121c4..71893076 100644 --- a/mbsetup/m_mail.c +++ b/mbsetup/m_mail.c @@ -4,7 +4,7 @@ * Purpose ...............: Mail Setup Program * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,11 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_marea.c b/mbsetup/m_marea.c index 054409b6..859a5fb6 100644 --- a/mbsetup/m_marea.c +++ b/mbsetup/m_marea.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "../lib/msg.h" #include "screen.h" #include "mutil.h" diff --git a/mbsetup/m_menu.c b/mbsetup/m_menu.c index 0a694413..384fc27b 100644 --- a/mbsetup/m_menu.c +++ b/mbsetup/m_menu.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "mutil.h" #include "screen.h" #include "ledit.h" diff --git a/mbsetup/m_mgroup.c b/mbsetup/m_mgroup.c index e2e642b1..783e514a 100644 --- a/mbsetup/m_mgroup.c +++ b/mbsetup/m_mgroup.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_modem.c b/mbsetup/m_modem.c index 226e713e..cc17b140 100644 --- a/mbsetup/m_modem.c +++ b/mbsetup/m_modem.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_new.c b/mbsetup/m_new.c index 01bd44e2..897ab020 100644 --- a/mbsetup/m_new.c +++ b/mbsetup/m_new.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_ngroup.c b/mbsetup/m_ngroup.c index 8801fa4d..09e84c75 100644 --- a/mbsetup/m_ngroup.c +++ b/mbsetup/m_ngroup.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_node.c b/mbsetup/m_node.c index 20b504b3..f4a3f44f 100644 --- a/mbsetup/m_node.c +++ b/mbsetup/m_node.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_ol.c b/mbsetup/m_ol.c index 082d27bf..1d220f78 100644 --- a/mbsetup/m_ol.c +++ b/mbsetup/m_ol.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_protocol.c b/mbsetup/m_protocol.c index 85eac1cc..369b83e8 100644 --- a/mbsetup/m_protocol.c +++ b/mbsetup/m_protocol.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/clcomm.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "../paths.h" #include "screen.h" #include "mutil.h" diff --git a/mbsetup/m_route.c b/mbsetup/m_route.c index 77eec927..1238726e 100644 --- a/mbsetup/m_route.c +++ b/mbsetup/m_route.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_service.c b/mbsetup/m_service.c index 26fb23a5..7b46866b 100644 --- a/mbsetup/m_service.c +++ b/mbsetup/m_service.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_task.c b/mbsetup/m_task.c index ea859f86..df9705f6 100644 --- a/mbsetup/m_task.c +++ b/mbsetup/m_task.c @@ -4,7 +4,7 @@ * Purpose ...............: Setup TaskManager. * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_tic.c b/mbsetup/m_tic.c index 1cfd68d0..4fd918aa 100644 --- a/mbsetup/m_tic.c +++ b/mbsetup/m_tic.c @@ -4,7 +4,7 @@ * Purpose ...............: TIC Setup Program * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,9 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_ticarea.c b/mbsetup/m_ticarea.c index cf3e3a15..0ae4eb8f 100644 --- a/mbsetup/m_ticarea.c +++ b/mbsetup/m_ticarea.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_tty.c b/mbsetup/m_tty.c index 846b80ea..858aa231 100644 --- a/mbsetup/m_tty.c +++ b/mbsetup/m_tty.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_users.c b/mbsetup/m_users.c index 11d0299d..4185626c 100644 --- a/mbsetup/m_users.c +++ b/mbsetup/m_users.c @@ -29,12 +29,8 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/m_virus.c b/mbsetup/m_virus.c index 4d0b1b57..cdb2c5bc 100644 --- a/mbsetup/m_virus.c +++ b/mbsetup/m_virus.c @@ -29,12 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/clcomm.h" -#include "../lib/common.h" +#include "../lib/mbselib.h" #include "../paths.h" #include "screen.h" #include "mutil.h" diff --git a/mbsetup/mbsetup.c b/mbsetup/mbsetup.c index a9c58f39..2db57eec 100644 --- a/mbsetup/mbsetup.c +++ b/mbsetup/mbsetup.c @@ -29,13 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/users.h" -#include "../lib/records.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/mberrors.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" #include "ledit.h" diff --git a/mbsetup/mutil.c b/mbsetup/mutil.c index 1ec94ac4..c5f12899 100644 --- a/mbsetup/mutil.c +++ b/mbsetup/mutil.c @@ -29,11 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" -#include "../lib/mberrors.h" +#include "../lib/mbselib.h" #include "screen.h" #include "mutil.h" diff --git a/mbsetup/screen.c b/mbsetup/screen.c index 7ee85bbf..ca22e9e6 100644 --- a/mbsetup/screen.c +++ b/mbsetup/screen.c @@ -29,11 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/ansi.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "screen.h" @@ -154,7 +150,7 @@ void screen_start(char *name) { int i; - TermInit(1); + TermInit(1, COLS, LINES); /* * Overwrite screen the first time, if user had it black on white * it will change to white on black. clear() won't do the trick. diff --git a/mbsetup/stlist.c b/mbsetup/stlist.c index 7414890e..a01616cf 100644 --- a/mbsetup/stlist.c +++ b/mbsetup/stlist.c @@ -4,7 +4,7 @@ * Purpose ...............: String sorting for databases. * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,10 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "../lib/libs.h" -#include "../lib/structs.h" -#include "../lib/common.h" -#include "../lib/clcomm.h" +#include "../lib/mbselib.h" #include "stlist.h" diff --git a/mbtask/Makefile b/mbtask/Makefile index d99245d0..eb87fa5b 100644 --- a/mbtask/Makefile +++ b/mbtask/Makefile @@ -6,13 +6,13 @@ include ../Makefile.global SRCS = callstat.c scanout.c taskcomm.c taskinfo.c taskstat.c \ mbtask.c outstat.c signame.c taskdisk.c taskregs.c taskutil.c \ - ports.c calllist.c ping.c crc.c taskchat.c + ports.c calllist.c ping.c taskchat.c crc.c HDRS = callstat.h mbtask.h outstat.h signame.h taskdisk.h taskregs.h taskutil.h \ - libs.h scanout.h taskcomm.h taskinfo.h taskstat.h \ - ports.h calllist.h ping.h crc.h taskchat.h + scanout.h taskcomm.h taskinfo.h taskstat.h \ + ports.h calllist.h ping.h taskchat.h OBJS = callstat.o scanout.o taskcomm.o taskinfo.o taskstat.o \ mbtask.o outstat.o signame.o taskdisk.o taskregs.o taskutil.o \ - ports.o calllist.o ping.o crc.o taskchat.o + ports.o calllist.o ping.o taskchat.o crc.o LIBS += ../lib/libnodelist.a OTHER = Makefile issue issue.netbsd @@ -68,20 +68,20 @@ depend: # DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT # Dependencies generated by make depend -callstat.o: ../config.h libs.h ../lib/structs.h taskutil.h callstat.h -scanout.o: ../config.h libs.h ../lib/structs.h taskutil.h scanout.h -taskcomm.o: ../config.h libs.h ../lib/structs.h taskstat.h taskregs.h taskdisk.h taskinfo.h taskutil.h taskchat.h taskcomm.h -taskinfo.o: ../config.h libs.h ../lib/structs.h taskinfo.h -taskstat.o: ../config.h libs.h ../lib/structs.h ../lib/mberrors.h taskstat.h callstat.h outstat.h taskutil.h -mbtask.o: ../config.h libs.h ../lib/structs.h ../paths.h ../lib/mberrors.h signame.h taskstat.h taskutil.h taskregs.h taskcomm.h callstat.h outstat.h ../lib/nodelist.h ports.h calllist.h ping.h taskchat.h mbtask.h -outstat.o: ../config.h libs.h ../lib/structs.h ../lib/mberrors.h taskutil.h taskstat.h scanout.h ../lib/nodelist.h callstat.h ports.h outstat.h +callstat.o: ../config.h ../lib/mbselib.h taskutil.h callstat.h +scanout.o: ../config.h ../lib/mbselib.h taskutil.h scanout.h +taskcomm.o: ../config.h ../lib/mbselib.h taskstat.h taskregs.h taskdisk.h taskinfo.h taskutil.h taskchat.h taskcomm.h +taskinfo.o: ../config.h ../lib/mbselib.h taskinfo.h +taskstat.o: ../config.h ../lib/mbselib.h taskstat.h callstat.h outstat.h taskutil.h +mbtask.o: ../config.h ../lib/mbselib.h ../paths.h signame.h taskstat.h taskutil.h taskregs.h taskcomm.h callstat.h outstat.h ../lib/nodelist.h ports.h calllist.h ping.h taskchat.h mbtask.h +outstat.o: ../config.h ../lib/mbselib.h taskutil.h taskstat.h scanout.h ../lib/nodelist.h callstat.h ports.h outstat.h signame.o: ../config.h signame.h -taskdisk.o: ../config.h libs.h ../lib/structs.h taskdisk.h taskutil.h -taskregs.o: ../config.h libs.h ../lib/structs.h taskstat.h taskregs.h taskchat.h taskutil.h -taskutil.o: ../config.h libs.h ../lib/structs.h signame.h scanout.h crc.h taskutil.h -ports.o: ../config.h libs.h ../lib/structs.h taskutil.h ../lib/nodelist.h ports.h -calllist.o: ../config.h libs.h ../lib/structs.h taskstat.h taskutil.h callstat.h outstat.h mbtask.h calllist.h -ping.o: ../config.h libs.h ../lib/structs.h ../lib/mberrors.h taskstat.h taskutil.h ping.h -crc.o: ../config.h libs.h crc.h -taskchat.o: ../config.h libs.h ../lib/structs.h taskutil.h taskregs.h taskchat.h +taskdisk.o: ../config.h ../lib/mbselib.h taskdisk.h taskutil.h +taskregs.o: ../config.h ../lib/mbselib.h taskstat.h taskregs.h taskchat.h taskutil.h +taskutil.o: ../config.h ../lib/mbselib.h signame.h scanout.h taskutil.h +ports.o: ../config.h ../lib/mbselib.h taskutil.h ../lib/nodelist.h ports.h +calllist.o: ../config.h ../lib/mbselib.h taskstat.h taskutil.h callstat.h outstat.h mbtask.h calllist.h +ping.o: ../config.h ../lib/mbselib.h taskstat.h taskutil.h ping.h +taskchat.o: ../config.h ../lib/mbselib.h taskutil.h taskregs.h taskchat.h +crc.o: ../config.h ../lib/mbselib.h # End of generated dependencies diff --git a/mbtask/calllist.c b/mbtask/calllist.c index 6819e750..a852d489 100644 --- a/mbtask/calllist.c +++ b/mbtask/calllist.c @@ -4,7 +4,7 @@ * Purpose ...............: mbtask - calllist * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,8 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "taskstat.h" #include "taskutil.h" #include "callstat.h" diff --git a/mbtask/callstat.c b/mbtask/callstat.c index 8fe2a06f..b3a5b14b 100644 --- a/mbtask/callstat.c +++ b/mbtask/callstat.c @@ -4,7 +4,7 @@ * Purpose ...............: Read mailer last call status * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,8 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "taskutil.h" #include "callstat.h" diff --git a/mbtask/crc.c b/mbtask/crc.c index 752fcb42..4265dba0 100644 --- a/mbtask/crc.c +++ b/mbtask/crc.c @@ -4,7 +4,7 @@ * Purpose ...............: Crc32 calculations * ***************************************************************************** - * Copyright (C) 1993-2002 + * Copyright (C) 1993-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,8 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "libs.h" -#include "crc.h" +#include "../lib/mbselib.h" /* diff --git a/mbtask/crc.h b/mbtask/crc.h deleted file mode 100644 index 4e4f5cff..00000000 --- a/mbtask/crc.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef _CRC_H -#define _CRC_H - -/* $Id$ */ - -unsigned long StringCRC32(char *); - -#endif diff --git a/mbtask/libs.h b/mbtask/libs.h deleted file mode 100644 index 63b2ea30..00000000 --- a/mbtask/libs.h +++ /dev/null @@ -1,146 +0,0 @@ -/***************************************************************************** - * - * $Id$ - * Purpose ...............: Libraries include list for mbtask - * - ***************************************************************************** - * Copyright (C) 1997-2003 - * - * Michiel Broek FIDO: 2:280/2802 - * Beekmansbos 10 - * 1971 BV IJmuiden - * the Netherlands - * - * This file is part of MBSE BBS. - * - * This BBS is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation; either version 2, or (at your option) any - * later version. - * - * MBSE BBS is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with MBSE BBS; see the file COPYING. If not, write to the Free - * Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - *****************************************************************************/ - -#ifndef _LIBS_H -#define _LIBS_H - -#define TRUE 1 -#define FALSE 0 -#define SS_BUFSIZE 1024 /* Streams socket buffersize */ - - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#ifdef HAVE_SYS_VFS_H -#include -#endif -#include -#include -#include -#include -#include - -#include -#include -#if defined(__FreeBSD__) || defined(__NetBSD__) -#include -#endif -#include -#include - - - -/* - * Some older systems don;t have this - */ -#ifndef ICMP_FILTER -#define ICMP_FILTER 1 - -struct icmp_filter { - u_int32_t data; -}; - -#endif - - -/* some older glibc versions seem to lack this. */ -# ifndef IP_PKTINFO -# define IP_PKTINFO 8 -# endif - - -/* A macro to extract the pointer to the address of a struct sockaddr (_in or _in6) */ -#define SOCKA_A4(a) ((void *)&((struct sockaddr_in *)(a))->sin_addr) - - -/* Some old libs don't have socklen_t */ -#ifndef socklen_t -#define socklen_t unsigned int -#endif - - -#pragma pack(1) - -#define MAXNAME 35 -#define MAXUFLAGS 16 - -typedef struct _faddr { - char *name; - unsigned int point; - unsigned int node; - unsigned int net; - unsigned int zone; - char *domain; -} faddr; - - - -/* - * ANSI colors - */ -#define BLACK 0 -#define BLUE 1 -#define GREEN 2 -#define CYAN 3 -#define RED 4 -#define MAGENTA 5 -#define BROWN 6 -#define LIGHTGRAY 7 -#define DARKGRAY 8 -#define LIGHTBLUE 9 -#define LIGHTGREEN 10 -#define LIGHTCYAN 11 -#define LIGHTRED 12 -#define LIGHTMAGENTA 13 -#define YELLOW 14 -#define WHITE 15 - - -#endif - diff --git a/mbtask/mbtask.c b/mbtask/mbtask.c index ba164077..fa3a4979 100644 --- a/mbtask/mbtask.c +++ b/mbtask/mbtask.c @@ -4,7 +4,7 @@ * Purpose ...............: MBSE BBS Task Manager * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,10 +29,8 @@ *****************************************************************************/ #include "../config.h" -#include "libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "../paths.h" -#include "../lib/mberrors.h" #include "signame.h" #include "taskstat.h" #include "taskutil.h" diff --git a/mbtask/outstat.c b/mbtask/outstat.c index d7004cdb..7f37de96 100644 --- a/mbtask/outstat.c +++ b/mbtask/outstat.c @@ -29,9 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "libs.h" -#include "../lib/structs.h" -#include "../lib/mberrors.h" +#include "../lib/mbselib.h" #include "taskutil.h" #include "taskstat.h" #include "scanout.h" diff --git a/mbtask/ping.c b/mbtask/ping.c index 978dfeba..d9f2e496 100644 --- a/mbtask/ping.c +++ b/mbtask/ping.c @@ -29,9 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "libs.h" -#include "../lib/structs.h" -#include "../lib/mberrors.h" +#include "../lib/mbselib.h" #include "taskstat.h" #include "taskutil.h" #include "ping.h" diff --git a/mbtask/ports.c b/mbtask/ports.c index bac21b8d..e512cd65 100644 --- a/mbtask/ports.c +++ b/mbtask/ports.c @@ -4,7 +4,7 @@ * Purpose ...............: mbtask - mode portlists * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,8 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "taskutil.h" #include "../lib/nodelist.h" #include "ports.h" diff --git a/mbtask/scanout.c b/mbtask/scanout.c index 3c7f35b1..ebf9dd92 100644 --- a/mbtask/scanout.c +++ b/mbtask/scanout.c @@ -4,7 +4,7 @@ * Purpose ...............: Outbound scanning * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,8 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "taskutil.h" #include "scanout.h" diff --git a/mbtask/signame.c b/mbtask/signame.c index 2f0078a5..b0b3d274 100644 --- a/mbtask/signame.c +++ b/mbtask/signame.c @@ -4,7 +4,7 @@ * Purpose ...............: Signal names * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 diff --git a/mbtask/taskchat.c b/mbtask/taskchat.c index 6f905651..9870d18e 100644 --- a/mbtask/taskchat.c +++ b/mbtask/taskchat.c @@ -4,7 +4,7 @@ * Purpose ...............: mbtask - chat server * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,8 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "taskutil.h" #include "taskregs.h" #include "taskchat.h" diff --git a/mbtask/taskcomm.c b/mbtask/taskcomm.c index 32948895..d4ff7ad8 100644 --- a/mbtask/taskcomm.c +++ b/mbtask/taskcomm.c @@ -4,7 +4,7 @@ * Purpose ...............: MBSE BBS Daemon * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,8 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "taskstat.h" #include "taskregs.h" #include "taskdisk.h" diff --git a/mbtask/taskdisk.c b/mbtask/taskdisk.c index 20850aba..67736315 100644 --- a/mbtask/taskdisk.c +++ b/mbtask/taskdisk.c @@ -4,7 +4,7 @@ * Purpose ...............: Give status of all filesystems * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,8 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "taskdisk.h" #include "taskutil.h" diff --git a/mbtask/taskinfo.c b/mbtask/taskinfo.c index 282f6644..ce2cd35e 100644 --- a/mbtask/taskinfo.c +++ b/mbtask/taskinfo.c @@ -4,7 +4,7 @@ * Purpose ...............: Give system information * ***************************************************************************** - * Copyright (C) 1997-2002 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,8 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "taskinfo.h" @@ -43,7 +42,6 @@ char *get_sysinfo(void) FILE *fp; static char buf[SS_BUFSIZE]; char *temp; - struct sysrec SYSINFO; sprintf(buf, "201:1,16;"); temp = calloc(128, sizeof(char)); @@ -71,7 +69,6 @@ char *get_lastcallercount(void) static char buf[SS_BUFSIZE]; char *temp; FILE *fp; - struct lastcallershdr LCALLhdr; sprintf(buf, "201:1,16;"); temp = calloc(128, sizeof(char)); @@ -94,8 +91,6 @@ char *get_lastcallerrec(int Rec) static char buf[SS_BUFSIZE]; char *temp, action[9]; FILE *fp; - struct lastcallershdr LCALLhdr; - struct lastcallers LCALL; sprintf(buf, "201:1,16;"); temp = calloc(128, sizeof(char)); diff --git a/mbtask/taskregs.c b/mbtask/taskregs.c index f5ee4763..040b0b84 100644 --- a/mbtask/taskregs.c +++ b/mbtask/taskregs.c @@ -4,7 +4,7 @@ * Purpose ...............: Buffers for registration information. * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,8 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "taskstat.h" #include "taskregs.h" #include "taskchat.h" diff --git a/mbtask/taskstat.c b/mbtask/taskstat.c index 9517b2c5..fc391ae0 100644 --- a/mbtask/taskstat.c +++ b/mbtask/taskstat.c @@ -4,7 +4,7 @@ * Purpose ...............: Keep track of server status * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,9 +29,7 @@ *****************************************************************************/ #include "../config.h" -#include "libs.h" -#include "../lib/structs.h" -#include "../lib/mberrors.h" +#include "../lib/mbselib.h" #include "taskstat.h" #include "callstat.h" #include "outstat.h" diff --git a/mbtask/taskutil.c b/mbtask/taskutil.c index 76283935..bfb3d697 100644 --- a/mbtask/taskutil.c +++ b/mbtask/taskutil.c @@ -4,7 +4,7 @@ * Purpose ...............: MBSE BBS Task Manager, utilities * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -29,11 +29,9 @@ *****************************************************************************/ #include "../config.h" -#include "libs.h" -#include "../lib/structs.h" +#include "../lib/mbselib.h" #include "signame.h" #include "scanout.h" -#include "crc.h" #include "taskutil.h" diff --git a/unix/mblogin.c b/unix/mblogin.c index f61ce1a6..bbaa3dd9 100644 --- a/unix/mblogin.c +++ b/unix/mblogin.c @@ -5,7 +5,7 @@ * Shadow Suite (c) ......: Julianne Frances Haugh * ***************************************************************************** - * Copyright (C) 1997-2001 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -346,8 +346,6 @@ int main(int argc, char **argv) char tty[BUFSIZ]; char userfile[PATH_MAX]; FILE *ufp; - struct userhdr usrconfighdr; - struct userrec usrconfig; int reason = PW_LOGIN; int delay; int retries;