head 1.4; access; symbols LMTP2NNTP_1_4_1:1.4 LMTP2NNTP_1_4_0:1.4 LMTP2NNTP_1_3_0:1.4 LMTP2NNTP_1_3b2:1.4 LMTP2NNTP_1_3b1:1.4 LMTP2NNTP_1_3a3:1.4 LMTP2NNTP_1_3a2:1.4 LMTP2NNTP_1_3a1:1.4 LMTP2NNTP_1_2_0:1.4 LMTP2NNTP_1_2b4:1.4 LMTP2NNTP_1_2b3:1.4 LMTP2NNTP_1_2b2:1.4 LMTP2NNTP_1_2b1:1.3 LMTP2NNTP_1_2a8:1.3 LMTP2NNTP_1_2a7:1.3 LMTP2NNTP_1_2a6:1.2 LMTP2NNTP_1_2a5:1.2 LMTP2NNTP_1_2a4:1.2 LMTP2NNTP_1_2a3:1.2 SOURCE_RESTRUCTURING_AFTER:1.1; locks; strict; comment @ * @; 1.4 date 2003.02.10.10.13.12; author thl; state Exp; branches; next 1.3; 1.3 date 2003.01.30.19.42.13; author rse; state Exp; branches; next 1.2; 1.2 date 2001.12.31.15.15.36; author thl; state Exp; branches; next 1.1; 1.1 date 2001.12.31.11.09.53; author thl; state Exp; branches; next ; desc @@ 1.4 log @extend copyright messages based on CVS information @ text @/* ** OSSP lmtp2nntp - Mail to News Gateway ** Copyright (c) 2001-2003 Ralf S. Engelschall ** Copyright (c) 2001-2003 The OSSP Project ** Copyright (c) 2001-2003 Cable & Wireless Germany ** ** This file is part of OSSP lmtp2nntp, an LMTP speaking local ** mailer which forwards mails as Usenet news articles via NNTP. ** It can be found at http://www.ossp.org/pkg/tool/lmtp2nntp/. ** ** This program 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.0 of the License, or (at your option) any later version. ** ** This program 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 this file; if not, write to the Free Software ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 ** USA, or contact the OSSP project . ** ** lmtp2nntp_shpat.h: Shell Pattern Matching library (API) */ /*- * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the University of * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ #ifndef __SHPAT_MATCH_H__ #define __SHPAT_MATCH_H__ #define SHPAT_M_NOMATCH 1 /* Match failed. */ #define SHPAT_M_NOESCAPE 0x01 /* Disable backslash escaping. */ #define SHPAT_M_PATHNAME 0x02 /* Slash must be matched by slash. */ #define SHPAT_M_PERIOD 0x04 /* Period must be matched by period. */ #define SHPAT_M_LEADING_DIR 0x08 /* Ignore / after Imatch. */ #define SHPAT_M_CASEFOLD 0x10 /* Case insensitive search. */ #define SHPAT_M_IGNORECASE FNM_CASEFOLD #if defined(__cplusplus) extern "C" { #endif int shpat_match(const char *, const char *, int); int shpat_match_hasglobchar(const char *); #if defined(__cplusplus) } #endif #endif /* __SHPAT_MATCH_H__ */ @ 1.3 log @Apply the standard OSSP copyright header, document ASCII art and fix URL to lmtp2nntp homepage. @ text @d3 3 a5 3 ** Copyright (c) 2002-2003 Ralf S. Engelschall ** Copyright (c) 2002-2003 The OSSP Project ** Copyright (c) 2002-2003 Cable & Wireless Germany @ 1.2 log @bump copyright year @ text @d2 4 a5 2 ** Copyright (c) 2001-2002 The OSSP Project ** Copyright (c) 2001-2002 Cable & Wireless Deutschland d9 1 a9 1 ** It can be found at http://www.ossp.org/pkg/lmtp2nntp/. d26 1 a26 1 ** shpat_match.c: Shell Pattern Matching library (API) @ 1.1 log @Mega-Commit: Finally restructure the lmtp2nntp source tree in order to clean it up. We especially use a consistent prefix for all inlined sources. @ text @d2 2 a3 2 ** Copyright (c) 2001 The OSSP Project ** Copyright (c) 2001 Cable & Wireless Deutschland @