ktutil_locl.h revision 233294
156160Sru/*
2146515Sru * Copyright (c) 1997-2004 Kungliga Tekniska H��gskolan
356160Sru * (Royal Institute of Technology, Stockholm, Sweden).
4146515Sru * All rights reserved.
556160Sru *
656160Sru * Redistribution and use in source and binary forms, with or without
756160Sru * modification, are permitted provided that the following conditions
856160Sru * are met:
956160Sru *
1056160Sru * 1. Redistributions of source code must retain the above copyright
1156160Sru *    notice, this list of conditions and the following disclaimer.
1256160Sru *
1356160Sru * 2. Redistributions in binary form must reproduce the above copyright
1456160Sru *    notice, this list of conditions and the following disclaimer in the
1556160Sru *    documentation and/or other materials provided with the distribution.
1656160Sru *
1756160Sru * 3. Neither the name of the Institute nor the names of its contributors
1856160Sru *    may be used to endorse or promote products derived from this software
1956160Sru *    without specific prior written permission.
2056160Sru *
2156160Sru * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
2256160Sru * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2356160Sru * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2456160Sru * ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
2556160Sru * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2656160Sru * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2756160Sru * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2856160Sru * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2956160Sru * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3056160Sru * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3156160Sru * SUCH DAMAGE.
3256160Sru */
3356160Sru
3456160Sru/*
3556160Sru * $Id$
3656160Sru */
37146515Sru
38146515Sru#ifndef __KTUTIL_LOCL_H__
39146515Sru#define __KTUTIL_LOCL_H__
40146515Sru
41146515Sru#include <config.h>
42146515Sru
43146515Sru#include <stdio.h>
44146515Sru#include <stdlib.h>
45146515Sru#include <string.h>
46146515Sru#include <errno.h>
47146515Sru#ifdef HAVE_FCNTL_H
48146515Sru#include <fcntl.h>
49146515Sru#endif
50146515Sru#ifdef HAVE_UNISTD_H
51146515Sru#include <unistd.h>
52146515Sru#endif
5356160Sru#include <parse_time.h>
54146515Sru#include <roken.h>
55146515Sru
56146515Sru#include "crypto-headers.h"
57146515Sru#include <krb5.h>
58146515Sru#include <kadm5/admin.h>
59146515Sru#include <kadm5/kadm5_err.h>
60146515Sru
61146515Sru#include <sl.h>
62146515Sru#include <getarg.h>
63146515Sru#include <hex.h>
64146515Sru
65146515Sruextern krb5_context context;
66146515Sru
67146515Sruextern int verbose_flag;
68146515Sruextern char *keytab_string;
69146515Sru
7056160Srukrb5_keytab ktutil_open_keytab(void);
71
72#include "ktutil-commands.h"
73
74#endif /* __KTUTIL_LOCL_H__ */
75