8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / krb5 / kadmin / cli / kadmin.h
blobabf6fcf526b58dcdac2e36a1cbcb91232827902c
1 #pragma ident "%Z%%M% %I% %E% SMI"
3 /*
4 * kadmin/cli/kadmin.h
6 * Copyright 2001 by the Massachusetts Institute of Technology.
7 * All Rights Reserved.
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.
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.
29 * Prototypes for kadmin functions called from SS library.
32 #ifndef __KADMIN_H__
33 #define __KADMIN_H__
35 /* It would be nice if ss produced a header file we could reference */
36 extern char *kadmin_startup(int argc, char *argv[]);
37 extern int quit (void);
38 extern void kadmin_lock(int argc, char *argv[]);
39 extern void kadmin_unlock(int argc, char *argv[]);
40 extern void kadmin_delprinc(int argc, char *argv[]);
41 extern void kadmin_cpw(int argc, char *argv[]);
42 extern void kadmin_addprinc(int argc, char *argv[]);
43 extern void kadmin_modprinc(int argc, char *argv[]);
44 extern void kadmin_getprinc(int argc, char *argv[]);
45 extern void kadmin_getprincs(int argc, char *argv[]);
46 extern void kadmin_addpol(int argc, char *argv[]);
47 extern void kadmin_modpol(int argc, char *argv[]);
48 extern void kadmin_delpol(int argc, char *argv[]);
49 extern void kadmin_getpol(int argc, char *argv[]);
50 extern void kadmin_getpols(int argc, char *argv[]);
51 extern void kadmin_getprivs(int argc, char *argv[]);
52 extern void kadmin_keytab_add(int argc, char *argv[]);
53 extern void kadmin_keytab_remove(int argc, char *argv[]);
55 #ifdef TIME_WITH_SYS_TIME
56 #include <sys/time.h>
57 #include <time.h>
58 #else
59 #ifdef HAVE_SYS_TIME_H
60 #include <sys/time.h>
61 #else
62 #include <time.h>
63 #endif
64 #endif
66 extern time_t get_date(char *);
68 /* Yucky global variables */
69 extern krb5_context context;
70 extern char *krb5_defkeyname;
71 extern char *whoami;
72 extern void *handle;
74 #endif /* __KADMIN_H__ */