diff options
| author | Theodore Tso <tytso@mit.edu> | 1994-01-13 20:17:48 +0000 |
|---|---|---|
| committer | Theodore Tso <tytso@mit.edu> | 1994-01-13 20:17:48 +0000 |
| commit | 8db036ec36089c634a874a86232dd7f3c24aa9a6 (patch) | |
| tree | f18d9618fd50b1624ca4f83939a1bfa34bff9994 /src/include | |
| parent | 0df1c7a26fb5189990deea21549a1ec737eac4c5 (diff) | |
| download | krb5-8db036ec36089c634a874a86232dd7f3c24aa9a6.tar.gz krb5-8db036ec36089c634a874a86232dd7f3c24aa9a6.tar.xz krb5-8db036ec36089c634a874a86232dd7f3c24aa9a6.zip | |
Don't use static character arrays!!! This results in those strings duplicated
in every single file that includes this include file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3313 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/krb5/adm_defs.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/krb5/adm_defs.h b/src/include/krb5/adm_defs.h index 8274e647d..912ebbbc3 100644 --- a/src/include/krb5/adm_defs.h +++ b/src/include/krb5/adm_defs.h @@ -96,6 +96,7 @@ typedef struct { char *message; } kadmin_requests; +#if 0 static char *oper_type[] = { "complete", /* 0 */ "addition", /* 1 */ @@ -104,45 +105,56 @@ static char *oper_type[] = { "modification", /* 4 */ "inquiry" /* 5 */ }; +#endif #define SKYCHANGED 0x00 #define NSKYRCVD 0x01 + +#if 0 static char *ksrvutil_message[] = { "Service Key Changed", /* 0 */ "New Key and Version Received" /* 1 */ }; +#endif #define KADMGOOD 0x00 #define KADMSAG 0x01 +#if 0 static char *kadmind_general_response[] = { "Success", /* 0 */ "Service Access Granted" /* 1 */ }; +#endif #define KPASSGOOD 0x00 #define KPASSBAD 0x01 +#if 0 static char *kadmind_kpasswd_response[] = { "Password Changed", /* 0 */ "Password NOT Changed!" /* 1 */ }; +#endif #define KSRVGOOD 0x00 #define KSRVBAD 0x01 #define KSRVCATASTROPHE 0x02 +#if 0 static char *kadmind_ksrvutil_response[] = { "Service Password Change Complete", /* 0 */ "One or More Service Password Change(s) Failed!", /* 1 */ "Database Update Failure - Possible Catastrophe!!" /* 2 */ }; +#endif #define KADMGOOD 0x00 #define KADMBAD 0x01 +#if 0 static char *kadmind_kadmin_response[] = { "Administrative Service Completed", /* 0 */ "Principal Unknown!", /* 1 */ @@ -154,6 +166,7 @@ static char *kadmind_kadmin_response[] = { "Admin Client Not in ACL List!", /* 7 */ "Database Update Failure - Possible Catastrophe!!" /* 8 */ }; +#endif #define KMODVNO 0x00 #define KMODATTR 0x01 |
