+2001-10-24 Ezra Peisach <epeisach@mit.edu>
+
+ * arcfour.h: Declare krb5int_enc_arcfour extern so that multiple
+ copies are not generated (etypes.c, and arcfour.c).
+
2001-10-22 Sam Hartman <hartmans@mit.edu>
* arcfour-int.h: Make krb5int_arcfour_translate_usage non-static so the hash can use it
#ifndef ARCFOUR_H
#define ARCFOUR_H
-void
+extern void
krb5_arcfour_encrypt_length(krb5_const struct krb5_enc_provider *,
krb5_const struct krb5_hash_provider *,
size_t,
size_t *);
+extern
krb5_error_code krb5_arcfour_encrypt(krb5_const struct krb5_enc_provider *,
krb5_const struct krb5_hash_provider *,
krb5_const krb5_keyblock *,
krb5_const krb5_data *,
krb5_data *);
+extern
krb5_error_code krb5_arcfour_decrypt(krb5_const struct krb5_enc_provider *,
krb5_const struct krb5_hash_provider *,
krb5_const krb5_keyblock *,
krb5_const krb5_data *,
krb5_data *);
-krb5_error_code krb5_arcfour_string_to_key(
+extern krb5_error_code krb5_arcfour_string_to_key(
krb5_const struct krb5_enc_provider *,
krb5_const krb5_data *,
krb5_const krb5_data *,
krb5_keyblock *);
-const struct krb5_enc_provider krb5int_enc_arcfour;
+extern const struct krb5_enc_provider krb5int_enc_arcfour;
#endif /* ARCFOUR_H */