From 4349e984c661bc336d20b40ccd568081b83d531b Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sun, 25 Nov 2001 21:26:23 +0000 Subject: [PATCH] added mangle.c to library --- lib/Makefile | 4 ++-- lib/mangle.c | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 lib/mangle.c diff --git a/lib/Makefile b/lib/Makefile index 4ed4f072..a27edd64 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -8,12 +8,12 @@ CLCOMM_SRCS = clcomm.c client.c crc.c semafore.c signame.c CLCOMM_OBJS = clcomm.o client.o crc.o semafore.o signame.o CLCOMM_HDRS = clcomm.h COMMON_SRCS = attach.c charconv_utf.c falists.c hdr.c msgflags.c parsedate.c rfcmsg.c unpacker.c \ - batchrd.c charset.c ftn.c nodelist.c pktname.c \ + batchrd.c charset.c ftn.c nodelist.c pktname.c mangle.c \ charconv.c dostran.c ftnmsg.c mbfile.c nodelock.c rawio.c strcasestr.c \ charconv_hz.c execute.c expipe.c getheader.c mime.c noderecord.c rfcaddr.c strutil.c \ charconv_jp.c faddr.c gmtoffset.c packet.c rfcdate.c term.c COMMON_OBJS = ftscprod.o attach.o charconv_utf.o falists.o hdr.o msgflags.o parsedate.o rfcmsg.o unpacker.o \ - batchrd.o charset.o ftn.o nodelist.o pktname.o \ + batchrd.o charset.o ftn.o nodelist.o pktname.o mangle.o \ charconv.o dostran.o ftnmsg.o mbfile.o nodelock.o rawio.o strcasestr.o \ charconv_hz.o execute.o expipe.o getheader.o mime.o noderecord.o rfcaddr.o strutil.o \ charconv_jp.o faddr.o gmtoffset.o packet.o rfcdate.o term.o diff --git a/lib/mangle.c b/lib/mangle.c new file mode 100644 index 00000000..ae1c03e4 --- /dev/null +++ b/lib/mangle.c @@ -0,0 +1,37 @@ +/***************************************************************************** + * + * $Id$ + * Purpose ...............: Mangle a unix name to DOS 8.3 filename + * + ***************************************************************************** + * Copyright (C) 1997-2001 + * + * 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. + *****************************************************************************/ + +#include "libs.h" +#include "structs.h" +#include "clcomm.h" +#include "common.h" + + +