1#pragma ident	"%Z%%M%	%I%	%E% SMI"
4 * kadmin/cli/kadmin.h
5 *
6 * Copyright 2001 by the Massachusetts Institute of Technology.
7 * All Rights Reserved.
8 *
9 * Export of this software from the United States of America may
10 *   require a specific license from the United States Government.
11 *   It is the responsibility of any person or organization contemplating
12 *   export to obtain such a license before exporting.
13 *
14 * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
15 * distribute this software and its documentation for any purpose and
16 * without fee is hereby granted, provided that the above copyright
17 * notice appear in all copies and that both that copyright notice and
18 * this permission notice appear in supporting documentation, and that
19 * the name of M.I.T. not be used in advertising or publicity pertaining
20 * to distribution of the software without specific, written prior
21 * permission.  Furthermore if you modify this software you must label
22 * your software as modified software and not distribute it in such a
23 * fashion that it might be confused with the original M.I.T. software.
24 * M.I.T. makes no representations about the suitability of
25 * this software for any purpose.  It is provided "as is" without express
26 * or implied warranty.
27 *
28 *
29 * Prototypes for kadmin functions called from SS library.
30 */
32#ifndef __KADMIN_H__
33#define __KADMIN_H__
35/* It would be nice if ss produced a header file we could reference */
36extern char *kadmin_startup(int argc, char *argv[]);
37extern int quit (void);
38extern void kadmin_lock(int argc, char *argv[]);
39extern void kadmin_unlock(int argc, char *argv[]);
40extern void kadmin_delprinc(int argc, char *argv[]);
41extern void kadmin_cpw(int argc, char *argv[]);
42extern void kadmin_addprinc(int argc, char *argv[]);
43extern void kadmin_modprinc(int argc, char *argv[]);
44extern void kadmin_getprinc(int argc, char *argv[]);
45extern void kadmin_getprincs(int argc, char *argv[]);
46extern void kadmin_addpol(int argc, char *argv[]);
47extern void kadmin_modpol(int argc, char *argv[]);
48extern void kadmin_delpol(int argc, char *argv[]);
49extern void kadmin_getpol(int argc, char *argv[]);
50extern void kadmin_getpols(int argc, char *argv[]);
51extern void kadmin_getprivs(int argc, char *argv[]);
52extern void kadmin_keytab_add(int argc, char *argv[]);
53extern void kadmin_keytab_remove(int argc, char *argv[]);
56#include <sys/time.h>
57#include <time.h>
59#ifdef HAVE_SYS_TIME_H
60#include <sys/time.h>
62#include <time.h>
66extern time_t get_date(char *);
68/* Yucky global variables */
69extern krb5_context context;
70extern char *krb5_defkeyname;
71extern char *whoami;
72extern void *handle;
74#endif /* __KADMIN_H__ */