/*1* Copyright (c) 1997 - 1999 Kungliga Tekniska Högskolan2* (Royal Institute of Technology, Stockholm, Sweden).3* All rights reserved.4*5* Redistribution and use in source and binary forms, with or without6* modification, are permitted provided that the following conditions7* are met:8*9* 1. Redistributions of source code must retain the above copyright10* notice, this list of conditions and the following disclaimer.11*12* 2. Redistributions in binary form must reproduce the above copyright13* notice, this list of conditions and the following disclaimer in the14* documentation and/or other materials provided with the distribution.15*16* 3. Neither the name of the Institute nor the names of its contributors17* may be used to endorse or promote products derived from this software18* without specific prior written permission.19*20* THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND21* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE22* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE23* ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE24* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL25* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS26* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)27* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT28* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY29* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF30* SUCH DAMAGE.31*/3233/* $Id$ */3435#ifndef __KUSER_LOCL_H__36#define __KUSER_LOCL_H__3738#include <config.h>3940#include <stdio.h>41#include <stdlib.h>42#include <string.h>43#include <time.h>44#ifdef HAVE_SYS_TYPES_H45#include <sys/types.h>46#endif47#ifdef HAVE_PWD_H48#include <pwd.h>49#endif50#ifdef HAVE_SYS_TIME_H51#include <sys/time.h>52#endif53#ifdef HAVE_SYS_SOCKET_H54#include <sys/socket.h>55#endif56#ifdef HAVE_NETINET_IN_H57#include <netinet/in.h>58#endif59#ifdef HAVE_NETINET_IN6_H60#include <netinet/in6.h>61#endif62#ifdef HAVE_NETINET6_IN6_H63#include <netinet6/in6.h>64#endif6566#ifdef HAVE_ARPA_INET_H67#include <arpa/inet.h>68#endif69#include <roken.h>70#include <getarg.h>71#include <parse_time.h>72#include <err.h>73#include <krb5.h>7475#if defined(HAVE_SYS_IOCTL_H) && SunOS != 4076#include <sys/ioctl.h>77#endif78#ifdef HAVE_SYS_IOCCOM_H79#include <sys/ioccom.h>80#endif81#ifndef NO_AFS82#include <kafs.h>83#endif84#include "crypto-headers.h" /* for UI_UTIL_read_pw_string */8586#include <rtbl.h>8788#ifdef HAVE_LOCALE_H89#include <locale.h>90#endif9192#ifdef LIBINTL93#include <libintl.h>94#define N_(x,y) gettext(x)95#define NP_(x,y) (x)96#define getarg_i18n gettext97#else98#define N_(x,y) (x)99#define NP_(x,y) (x)100#define getarg_i18n NULL101#define bindtextdomain(package, localedir)102#define textdomain(package)103#endif104105extern krb5_context kcc_context;106107#endif /* __KUSER_LOCL_H__ */108109110