summaryrefslogtreecommitdiffstats
path: root/src/kadmin/dbutil/kdb5_util.h
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2001-02-26 20:03:16 +0000
committerEzra Peisach <epeisach@mit.edu>2001-02-26 20:03:16 +0000
commit2b3491d27bf17b80d2178a7a3f7056f34d6672cc (patch)
tree98ea05555e36cd71994a2021f42ffcfd9214d522 /src/kadmin/dbutil/kdb5_util.h
parent0770707730df526f208600e6508ae39c6479c65e (diff)
downloadkrb5-2b3491d27bf17b80d2178a7a3f7056f34d6672cc.tar.gz
krb5-2b3491d27bf17b80d2178a7a3f7056f34d6672cc.tar.xz
krb5-2b3491d27bf17b80d2178a7a3f7056f34d6672cc.zip
* loadv4.c, ovload.c, kdb5_util.h, kdb5_util.c, kadm5_create.c,
dumpv4.c, dump.c: Compiler warning cleanup including prototypes, assignments in conditionals, unused variables, varaibles shadowing one-another. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13028 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin/dbutil/kdb5_util.h')
-rw-r--r--src/kadmin/dbutil/kdb5_util.h47
1 files changed, 39 insertions, 8 deletions
diff --git a/src/kadmin/dbutil/kdb5_util.h b/src/kadmin/dbutil/kdb5_util.h
index 843b7dd99..52175e56f 100644
--- a/src/kadmin/dbutil/kdb5_util.h
+++ b/src/kadmin/dbutil/kdb5_util.h
@@ -30,23 +30,54 @@
extern char *progname;
extern char *Err_no_database;
+#ifndef V4_DECLARES_STATIC
+extern krb5_keyblock master_keyblock;
+extern krb5_principal master_princ;
+#endif
+extern krb5_boolean dbactive;
+extern int exit_status;
+extern krb5_context util_context;
+extern kadm5_config_params global_params;
+extern int valid_master_key;
+extern krb5_db_entry master_db;
-void add_key
+extern void usage(void);
+
+extern void add_key
PROTOTYPE((char const *, char const *,
krb5_const_principal, const krb5_keyblock *,
krb5_kvno, krb5_keysalt *));
-int set_dbname_help
+extern int set_dbname_help
PROTOTYPE((char *, char *));
-char *kdb5_util_Init PROTOTYPE((int, char **));
+extern char *kdb5_util_Init PROTOTYPE((int, char **));
-int quit();
+extern int quit PROTOTYPE((void));
-int check_for_match
+extern int check_for_match
PROTOTYPE((char *, int, krb5_db_entry *, int, int));
-void parse_token
+extern void parse_token
PROTOTYPE((char *, int *, int *, char *));
-int create_db_entry
- PROTOTYPE((krb5_principal, krb5_db_entry *));
+extern int create_db_entry PROTOTYPE((krb5_principal, krb5_db_entry *));
+
+extern int kadm5_create_magic_princs PROTOTYPE((kadm5_config_params *params,
+ krb5_context context));
+
+extern int process_ov_principal PROTOTYPE((char *fname, krb5_context kcontext,
+ FILE *filep, int verbose,
+ int *linenop,
+ void *pol_db));
+
+extern void load_db PROTOTYPE((int argc, char **argv));
+extern void dump_db PROTOTYPE((int argc, char **argv));
+extern void load_v4db PROTOTYPE((int argc, char **argv));
+extern void dump_v4db PROTOTYPE((int argc, char **argv));
+extern void kdb5_create PROTOTYPE((int argc, char **argv));
+extern void kdb5_destroy PROTOTYPE((int argc, char **argv));
+extern void kdb5_stash PROTOTYPE((int argc, char **argv));
+
+extern void update_ok_file PROTOTYPE((char *file_name));
+
+extern int kadm5_create PROTOTYPE((kadm5_config_params *params));