diff options
Diffstat (limited to 'src/kadmin/v5client/kadmin5.h')
-rw-r--r-- | src/kadmin/v5client/kadmin5.h | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/src/kadmin/v5client/kadmin5.h b/src/kadmin/v5client/kadmin5.h new file mode 100644 index 0000000000..85d6a6239c --- /dev/null +++ b/src/kadmin/v5client/kadmin5.h @@ -0,0 +1,97 @@ +/* + * kadmin/v5client/kadmin5.h + * + * Copyright 1995 by the Massachusetts Institute of Technology. + * All Rights Reserved. + * + * Export of this software from the United States of America may + * require a specific license from the United States Government. + * It is the responsibility of any person or organization contemplating + * export to obtain such a license before exporting. + * + * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and + * distribute this software and its documentation for any purpose and + * without fee is hereby granted, provided that the above copyright + * notice appear in all copies and that both that copyright notice and + * this permission notice appear in supporting documentation, and that + * the name of M.I.T. not be used in advertising or publicity pertaining + * to distribution of the software without specific, written prior + * permission. M.I.T. makes no representations about the suitability of + * this software for any purpose. It is provided "as is" without express + * or implied warranty. + * + */ + +/* + * kadmin5.h - Describe common interfaces between kadmin modules. + */ +#ifndef KADMIN5_H__ +#define KADMIN5_H__ + +/* + * Global data. + */ +extern int exit_status; +extern krb5_context kcontext; +extern char *programname; +extern char *requestname; +extern krb5_boolean multiple; +extern char *principal_name; +extern char *password_prompt; + +/* + * Function prototypes. + */ +/* network.c */ +void print_proto_sreply + PROTOTYPE((krb5_int32, krb5_data *)); +void print_proto_error + PROTOTYPE((char *, + krb5_int32, + krb5_int32, + krb5_data *)); +void net_disconnect + PROTOTYPE((krb5_boolean)); +krb5_error_code net_do_proto + PROTOTYPE((char *, + char *, + char *, + krb5_int32, + krb5_data *, + krb5_int32 *, + krb5_int32 *, + krb5_data **)); + +/* convert.c */ +char * delta2string PROTOTYPE((krb5_deltat)); +char * abs2string PROTOTYPE((krb5_timestamp)); +char * dbflags2string PROTOTYPE((krb5_flags)); +char * salt2string PROTOTYPE((krb5_int32)); +krb5_boolean parse_princ_options PROTOTYPE((int, + char **, + krb5_ui_4 *, + krb5_db_entry *)); +void help_princ_options(); + +/* kadmin5.c */ +void kadmin_show_principal PROTOTYPE((int, char **)); +void kadmin_add_new_key PROTOTYPE((int, char **)); +void kadmin_change_pwd PROTOTYPE((int, char **)); +void kadmin_add_rnd_key PROTOTYPE((int, char **)); +void kadmin_change_rnd PROTOTYPE((int, char **)); +void kadmin_add_v4_key PROTOTYPE((int, char **)); +void kadmin_change_v4_key PROTOTYPE((int, char **)); +void kadmin_delete_entry PROTOTYPE((int, char **)); +void kadmin_extract PROTOTYPE((int, char **)); +void kadmin_extract_v4 PROTOTYPE((int, char **)); +void kadmin_modify PROTOTYPE((int, char **)); +void kadmin_rename PROTOTYPE((int, char **)); +void kadmin_list PROTOTYPE((int, char **)); +void kadmin_language PROTOTYPE((int, char **)); +void kadmin_mime PROTOTYPE((int, char **)); +void kadmin_cd PROTOTYPE((int, char **)); +void kadmin_pwd PROTOTYPE((int, char **)); +char * kadmin_startup PROTOTYPE((int, char **)); +int kadmin_cleanup(); +#endif /* KADMIN5_H__ */ + |