push_locl.h revision 178825
1198090Srdivacky/* 2198090Srdivacky * Copyright (c) 1997, 1998 Kungliga Tekniska H�gskolan 3198090Srdivacky * (Royal Institute of Technology, Stockholm, Sweden). 4198090Srdivacky * All rights reserved. 5198090Srdivacky * 6198090Srdivacky * Redistribution and use in source and binary forms, with or without 7198090Srdivacky * modification, are permitted provided that the following conditions 8198090Srdivacky * are met: 9198090Srdivacky * 10198090Srdivacky * 1. Redistributions of source code must retain the above copyright 11218893Sdim * notice, this list of conditions and the following disclaimer. 12218893Sdim * 13218893Sdim * 2. Redistributions in binary form must reproduce the above copyright 14212904Sdim * notice, this list of conditions and the following disclaimer in the 15202878Srdivacky * documentation and/or other materials provided with the distribution. 16202878Srdivacky * 17202878Srdivacky * 3. Neither the name of the Institute nor the names of its contributors 18223017Sdim * may be used to endorse or promote products derived from this software 19218893Sdim * without specific prior written permission. 20198090Srdivacky * 21198090Srdivacky * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND 22198090Srdivacky * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23202878Srdivacky * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24202878Srdivacky * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE 25198090Srdivacky * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26212904Sdim * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27202878Srdivacky * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28218893Sdim * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29212904Sdim * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30202878Srdivacky * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31198090Srdivacky * SUCH DAMAGE. 32198090Srdivacky */ 33218893Sdim 34218893Sdim/* $Id: push_locl.h 7463 1999-12-02 16:58:55Z joda $ */ 35218893Sdim 36218893Sdim#ifdef HAVE_CONFIG_H 37198090Srdivacky#include <config.h> 38198090Srdivacky#endif 39212904Sdim 40198090Srdivacky#include <stdio.h> 41198090Srdivacky#include <stdlib.h> 42198090Srdivacky#include <string.h> 43198090Srdivacky#ifdef HAVE_FCNTL_H 44198090Srdivacky#include <fcntl.h> 45198090Srdivacky#endif 46198090Srdivacky#ifdef HAVE_ERRNO_H 47218893Sdim#include <errno.h> 48218893Sdim#endif 49218893Sdim#include <ctype.h> 50221345Sdim#include <limits.h> 51218893Sdim#include <time.h> 52221345Sdim#ifdef HAVE_SYS_TYPES_H 53221345Sdim#include <sys/types.h> 54218893Sdim#endif 55218893Sdim#ifdef HAVE_SYS_SELECT_H 56218893Sdim#include <sys/select.h> 57218893Sdim#endif 58198090Srdivacky#ifdef HAVE_UNISTD_H 59198090Srdivacky#include <unistd.h> 60198892Srdivacky#endif 61198892Srdivacky#ifdef HAVE_SYS_UIO_H 62221345Sdim#include <sys/uio.h> 63198892Srdivacky#endif 64198892Srdivacky#ifdef HAVE_SYS_SOCKET_H 65198892Srdivacky#include <sys/socket.h> 66206124Srdivacky#endif 67206124Srdivacky#ifdef HAVE_NETINET_IN_H 68221345Sdim#include <netinet/in.h> 69221345Sdim#endif 70198090Srdivacky#ifdef HAVE_NETINET_IN6_H 71198396Srdivacky#include <netinet/in6.h> 72198396Srdivacky#endif 73198396Srdivacky#ifdef HAVE_NETINET6_IN6_H 74198396Srdivacky#include <netinet6/in6.h> 75198396Srdivacky#endif 76218893Sdim#ifdef HAVE_NETINET_TCP_H 77218893Sdim#include <netinet/tcp.h> 78218893Sdim#endif 79218893Sdim#ifdef HAVE_NETDB_H 80218893Sdim#include <netdb.h> 81198090Srdivacky#endif 82198090Srdivacky#ifdef HAVE_PWD_H 83198090Srdivacky#include <pwd.h> 84198090Srdivacky#endif 85218893Sdim#ifdef HESIOD 86218893Sdim#include <hesiod.h> 87198090Srdivacky#endif 88198090Srdivacky 89198090Srdivacky#include <roken.h> 90218893Sdim#include <err.h> 91218893Sdim#include <getarg.h> 92218893Sdim#ifdef KRB5 93218893Sdim#include <krb5.h> 94218893Sdim#endif 95218893Sdim 96218893Sdim#ifdef KRB4 97218893Sdim#include <krb.h> 98218893Sdim#endif 99218893Sdim