Blame ares_getopt.h

Packit 514978
#ifndef ARES_GETOPT_H
Packit 514978
#define ARES_GETOPT_H
Packit 514978
Packit 514978
/*
Packit 514978
 * Copyright (c) 1987-2001 The Regents of the University of California.
Packit 514978
 * All rights reserved.
Packit 514978
 *
Packit 514978
 * Redistribution and use in source and binary forms, with or without
Packit 514978
 * modification, are permitted provided that the following conditions are met:
Packit 514978
 *
Packit 514978
 * A. Redistributions of source code must retain the above copyright notice,
Packit 514978
 *    this list of conditions and the following disclaimer.
Packit 514978
 * B. Redistributions in binary form must reproduce the above copyright notice,
Packit 514978
 *    this list of conditions and the following disclaimer in the documentation
Packit 514978
 *    and/or other materials provided with the distribution.
Packit 514978
 * C. Neither the names of the copyright holders nor the names of its
Packit 514978
 *    contributors may be used to endorse or promote products derived from this
Packit 514978
 *    software without specific prior written permission.
Packit 514978
 *
Packit 514978
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS
Packit 514978
 * IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
Packit 514978
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
Packit 514978
 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
Packit 514978
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
Packit 514978
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
Packit 514978
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
Packit 514978
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
Packit 514978
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
Packit 514978
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
Packit 514978
 * POSSIBILITY OF SUCH DAMAGE.
Packit 514978
 */
Packit 514978
Packit 514978
Packit 514978
int ares_getopt(int nargc, char * const nargv[], const char *ostr);
Packit 514978
Packit 514978
#undef optarg
Packit 514978
#undef optind
Packit 514978
#undef opterr
Packit 514978
#undef optopt
Packit 514978
#undef optreset
Packit 514978
Packit 514978
#define optarg   ares_optarg
Packit 514978
#define optind   ares_optind
Packit 514978
#define opterr   ares_opterr
Packit 514978
#define optopt   ares_optopt
Packit 514978
#define optreset ares_optreset
Packit 514978
Packit 514978
extern char *optarg;
Packit 514978
extern int optind;
Packit 514978
extern int opterr;
Packit 514978
extern int optopt;
Packit 514978
Packit 514978
#endif /* ARES_GETOPT_H */