Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / crypto / dist / heimdal / kadmin / kadmin-commands.h
blobd4db21421a8b6158f691ec6e8aa021578c251ef7
1 #include <stdio.h>
2 #include <sl.h>
4 struct stash_options {
5 char* enctype_string;
6 char* key_file_string;
7 int convert_file_flag;
8 int master_key_fd_integer;
9 };
10 int stash(struct stash_options*, int, char **);
11 struct dump_options {
12 int decrypt_flag;
14 int dump(struct dump_options*, int, char **);
15 struct init_options {
16 char* realm_max_ticket_life_string;
17 char* realm_max_renewable_life_string;
19 int init(struct init_options*, int, char **);
20 int load(void*, int, char **);
21 int merge(void*, int, char **);
22 struct add_options {
23 int random_key_flag;
24 int random_password_flag;
25 char* password_string;
26 char* key_string;
27 char* max_ticket_life_string;
28 char* max_renewable_life_string;
29 char* attributes_string;
30 char* expiration_time_string;
31 char* pw_expiration_time_string;
32 int use_defaults_flag;
34 int add_new_key(struct add_options*, int, char **);
35 struct passwd_options {
36 int random_key_flag;
37 int random_password_flag;
38 char* password_string;
39 char* key_string;
41 int cpw_entry(struct passwd_options*, int, char **);
42 int del_entry(void*, int, char **);
43 int del_enctype(void*, int, char **);
44 struct add_enctype_options {
45 int random_key_flag;
47 int add_enctype(struct add_enctype_options*, int, char **);
48 struct ext_keytab_options {
49 char* keytab_string;
51 int ext_keytab(struct ext_keytab_options*, int, char **);
52 struct get_options {
53 int long_flag;
54 int short_flag;
55 int terse_flag;
56 char* column_info_string;
58 int get_entry(struct get_options*, int, char **);
59 int rename_entry(void*, int, char **);
60 struct modify_options {
61 char* max_ticket_life_string;
62 char* max_renewable_life_string;
63 char* attributes_string;
64 char* expiration_time_string;
65 char* pw_expiration_time_string;
66 int kvno_integer;
67 struct getarg_strings constrained_delegation_strings;
68 struct getarg_strings alias_strings;
69 struct getarg_strings pkinit_acl_strings;
71 int mod_entry(struct modify_options*, int, char **);
72 int get_privs(void*, int, char **);
73 struct list_options {
74 int long_flag;
75 int short_flag;
76 int terse_flag;
77 char* column_info_string;
79 int list_princs(struct list_options*, int, char **);
80 int password_quality(void*, int, char **);
81 int check(void*, int, char **);
82 int help(void*, int, char **);
83 int exit_kadmin(void*, int, char **);
84 extern SL_cmd commands[];