Blame port/libport.h

Packit 994f1a
/* $Id: libport.h,v 1.2.2.3 2010-06-08 18:50:43 bfriesen Exp $ */
Packit 994f1a
Packit 994f1a
/*
Packit 994f1a
 * Copyright (c) 2009 Frank Warmerdam
Packit 994f1a
 *
Packit 994f1a
 * Permission to use, copy, modify, distribute, and sell this software and 
Packit 994f1a
 * its documentation for any purpose is hereby granted without fee, provided
Packit 994f1a
 * that (i) the above copyright notices and this permission notice appear in
Packit 994f1a
 * all copies of the software and related documentation, and (ii) the names of
Packit 994f1a
 * Sam Leffler and Silicon Graphics may not be used in any advertising or
Packit 994f1a
 * publicity relating to the software without the specific, prior written
Packit 994f1a
 * permission of Sam Leffler and Silicon Graphics.
Packit 994f1a
 * 
Packit 994f1a
 * THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
Packit 994f1a
 * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
Packit 994f1a
 * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
Packit 994f1a
 * 
Packit 994f1a
 * IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
Packit 994f1a
 * ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
Packit 994f1a
 * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
Packit 994f1a
 * WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
Packit 994f1a
 * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
Packit 994f1a
 * OF THIS SOFTWARE.
Packit 994f1a
 */
Packit 994f1a
Packit 994f1a
#ifndef _LIBPORT_
Packit 994f1a
#define	_LIBPORT_
Packit 994f1a
Packit 994f1a
int getopt(int argc, char * const argv[], const char *optstring);
Packit 994f1a
extern   char *optarg;
Packit 994f1a
extern   int opterr;
Packit 994f1a
extern   int optind;
Packit 994f1a
extern   int optopt;
Packit 994f1a
Packit 994f1a
int strcasecmp(const char *s1, const char *s2);
Packit 994f1a
Packit 994f1a
#ifndef HAVE_GETOPT
Packit 994f1a
#  define HAVE_GETOPT 1
Packit 994f1a
#endif
Packit 994f1a
Packit 994f1a
#if 0
Packit 994f1a
unsigned long strtoul(const char *nptr, char **endptr, int base);
Packit 994f1a
#endif
Packit 994f1a
Packit 994f1a
#if 0
Packit 994f1a
void *
Packit 994f1a
lfind(const void *key, const void *base, size_t *nmemb, size_t size,
Packit 994f1a
      int(*compar)(const void *, const void *));
Packit 994f1a
#endif
Packit 994f1a
Packit 994f1a
#endif /* ndef _LIBPORT_ */
Packit 994f1a
/*
Packit 994f1a
 * Local Variables:
Packit 994f1a
 * mode: c
Packit 994f1a
 * c-basic-offset: 8
Packit 994f1a
 * fill-column: 78
Packit 994f1a
 * End:
Packit 994f1a
 */