(struct krb5_rc_st): Field ops now points to const.
(krb5_rc_register_type): Ops argument now points to const.
(krb5_rc_dfl_ops): Now const.
+ (struct _krb5_ccache): Field ops now points to const.
2003-01-06 Sam Hartman <hartmans@mit.edu>
struct _krb5_ccache {
krb5_magic magic;
- struct _krb5_cc_ops *ops;
+ const struct _krb5_cc_ops *ops;
krb5_pointer data;
};
2003-01-07 Ken Raeburn <raeburn@mit.edu>
+ * cc_file.c (krb5_cc_file_ops): Now const.
+ * fcc.h (krb5_cc_file_ops): Update decl.
+ * cc_memory.c (krb5_mcc_ops): Now const.
+ * ccbase.c (krb5_mcc_ops): Update decl.
* ccdefops.c (krb5_cc_dfl_ops): Now points to const.
2002-09-03 Ken Raeburn <raeburn@mit.edu>
static krb5_error_code KRB5_CALLCONV krb5_fcc_set_flags
(krb5_context, krb5_ccache id, krb5_flags flags);
-extern krb5_cc_ops krb5_cc_file_ops;
+extern const krb5_cc_ops krb5_cc_file_ops;
krb5_error_code krb5_change_cache (void);
#endif /* _WIN32 */
-krb5_cc_ops krb5_cc_file_ops = {
+const krb5_cc_ops krb5_cc_file_ops = {
0,
"FILE",
krb5_fcc_get_name,
krb5_error_code KRB5_CALLCONV krb5_mcc_set_flags
(krb5_context, krb5_ccache id , krb5_flags flags );
-extern krb5_cc_ops krb5_mcc_ops;
+extern const krb5_cc_ops krb5_mcc_ops;
krb5_error_code krb5_change_cache (void);
#define KRB5_OK 0
#define NEED_WINDOWS
-krb5_cc_ops krb5_mcc_ops = {
+const krb5_cc_ops krb5_mcc_ops = {
0,
"MEMORY",
krb5_mcc_get_name,
krb5_cc_ops *ops;
struct krb5_cc_typelist *next;
};
-extern krb5_cc_ops krb5_mcc_ops;
+extern const krb5_cc_ops krb5_mcc_ops;
static struct krb5_cc_typelist cc_entry = { &krb5_mcc_ops, NULL };
#include "k5-int.h"
#include <stdio.h>
-extern krb5_cc_ops krb5_cc_file_ops;
+extern const krb5_cc_ops krb5_cc_file_ops;
#define KRB5_OK 0