"Fossies" - the Fresh Open Source Software Archive

Member "sarg-2.4.0/fnmatch.c" (30 Jan 2017, 1568 Bytes) of package /linux/privat/sarg-2.4.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "fnmatch.c" see the Fossies "Dox" file reference documentation.

    1 /*
    2  * SARG Squid Analysis Report Generator      http://sarg.sourceforge.net
    3  *                                                            1998, 2015
    4  *
    5  * SARG donations:
    6  *      please look at http://sarg.sourceforge.net/donations.php
    7  * Support:
    8  *     http://sourceforge.net/projects/sarg/forums/forum/363374
    9  * ---------------------------------------------------------------------
   10  *
   11  *  This program is free software; you can redistribute it and/or modify
   12  *  it under the terms of the GNU General Public License as published by
   13  *  the Free Software Foundation; either version 2 of the License, or
   14  *  (at your option) any later version.
   15  *
   16  *  This program is distributed in the hope that it will be useful,
   17  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
   18  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19  *  GNU General Public License for more details.
   20  *
   21  *  You should have received a copy of the GNU General Public License
   22  *  along with this program; if not, write to the Free Software
   23  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
   24  *
   25  */
   26 
   27 #ifndef HAVE_FNMATCH
   28 #include "include/conf.h"
   29 #include "include/defs.h"
   30 
   31 /*!
   32 Simplified function to match a pattern against a file name. It is provided
   33 here for MingW which doesn't have that function.
   34 
   35 \param pattern The pattern to match. It can contain ? and *.
   36 \param string The file name to match. Use slash as directory separator.
   37 \param flags
   38 */
   39 int fnmatch(const char *pattern,const char *string,int flags)
   40 {
   41     return(0);
   42 }
   43 
   44 #endif //HAVE_FNMATCH