From 7cddef06b2c2d3ee069c3e6996634b7240e31907 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Mon, 22 Nov 2004 15:12:55 +0000 Subject: [PATCH] Added ymodem sourcefiles --- mbsebbs/Makefile | 6 +++--- mbsebbs/ymrecv.c | 36 ++++++++++++++++++++++++++++++++++++ mbsebbs/ymrecv.h | 6 ++++++ mbsebbs/ymsend.c | 36 ++++++++++++++++++++++++++++++++++++ mbsebbs/ymsend.h | 6 ++++++ 5 files changed, 87 insertions(+), 3 deletions(-) create mode 100644 mbsebbs/ymrecv.c create mode 100644 mbsebbs/ymrecv.h create mode 100644 mbsebbs/ymsend.c create mode 100644 mbsebbs/ymsend.h diff --git a/mbsebbs/Makefile b/mbsebbs/Makefile index 447bd75b..b32bf142 100644 --- a/mbsebbs/Makefile +++ b/mbsebbs/Makefile @@ -13,7 +13,7 @@ SRCS = signature.c filesub.c language.c mbtoberep.c \ timeout.c chat.c file.c misc.c \ offline.c user.c mbnewusr.c input.c whoson.c \ door.c dispfile.c userlist.c timestats.c logentry.c \ - zmmisc.c zmsend.c zmrecv.c + ymsend.c ymrecv.c zmmisc.c zmsend.c zmrecv.c HDRS = signature.h filesub.h language.h mbsebbs.h misc.h offline.h \ timeout.h bbslist.h email.h fsedit.h lineedit.h \ msgutil.h oneline.h user.h bye.h morefile.h \ @@ -22,14 +22,14 @@ HDRS = signature.h filesub.h language.h mbsebbs.h misc.h offline.h \ pinfo.h chat.h file.h menu.h transfer.h \ pop3.h timecheck.h mbnewusr.h input.h whoson.h \ door.h dispfile.h userlist.h timestats.h logentry.h lastcallers.h \ - zmmisc.h zmsend.h zmrecv.h + ymsend.h ymrecv.h zmmisc.h zmsend.h zmrecv.h MBSEBBS_OBJS = signature.o bbslist.o chat.o file.o funcs.o mail.o menu.o \ misc.o pinfo.o oneline.o page.o fsedit.o transfer.o \ bye.o change.o mbsebbs.o timeout.o user.o timecheck.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 term.o ttyio.o openport.o \ - zmmisc.o zmsend.o zmrecv.o + ymsend.o ymrecv.o zmmisc.o zmsend.o zmrecv.o 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 ttyio.o \ timecheck.o input.o exitinfo.o funcs.o misc.o change.o door.o term.o openport.o \ diff --git a/mbsebbs/ymrecv.c b/mbsebbs/ymrecv.c new file mode 100644 index 00000000..29028fdc --- /dev/null +++ b/mbsebbs/ymrecv.c @@ -0,0 +1,36 @@ +/***************************************************************************** + * + * $Id$ + * Purpose ...............: Ymodem receiver + * + ***************************************************************************** + * Copyright (C) 1997-2004 + * + * 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, 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + *****************************************************************************/ + +#include "../config.h" +#include "../lib/mbselib.h" +#include "../lib/mbse.h" +#include "ymrecv.h" + + diff --git a/mbsebbs/ymrecv.h b/mbsebbs/ymrecv.h new file mode 100644 index 00000000..41225d75 --- /dev/null +++ b/mbsebbs/ymrecv.h @@ -0,0 +1,6 @@ +#ifndef _YMRECV_H +#define _YMRECV_H + +/* $Id$ */ + +#endif diff --git a/mbsebbs/ymsend.c b/mbsebbs/ymsend.c new file mode 100644 index 00000000..23ffa5b5 --- /dev/null +++ b/mbsebbs/ymsend.c @@ -0,0 +1,36 @@ +/***************************************************************************** + * + * $Id$ + * Purpose ...............: Ymodem sender + * + ***************************************************************************** + * Copyright (C) 1997-2004 + * + * 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, 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + *****************************************************************************/ + +#include "../config.h" +#include "../lib/mbselib.h" +#include "../lib/mbse.h" +#include "ymsend.h" + + diff --git a/mbsebbs/ymsend.h b/mbsebbs/ymsend.h new file mode 100644 index 00000000..caf8a0ff --- /dev/null +++ b/mbsebbs/ymsend.h @@ -0,0 +1,6 @@ +#ifndef _YMSEND_H +#define _YMSEND_H + +/* $Id$ */ + +#endif