summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ChangeLog8
-rw-r--r--src/include/k5-int.h6
-rw-r--r--src/include/krb5.hin2
3 files changed, 12 insertions, 4 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog
index 6c6e50742..94b426519 100644
--- a/src/include/ChangeLog
+++ b/src/include/ChangeLog
@@ -1,3 +1,11 @@
+2002-10-31 Ken Raeburn <raeburn@mit.edu>
+
+ * k5-int.h (krb5_ser_handle): Now points to const.
+ (krb5_kt_dfl_ops): Now const.
+ (struct _krb5_kt_ops): Field serializer now points to const
+ krb5_ser_entry instead of void.
+ * krb5.hin (struct _krb5_kt): Field ops now points to const.
+
2002-10-30 Ken Hornstein <kenh@cmf.nrl.navy.mil>
* krb5.hin: Change definitions of new SAM preauth types to
diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index 0ee5dd9a8..e6d69205c 100644
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -1525,7 +1525,7 @@ struct __krb5_serializer {
krb5_octet **,
size_t *);
};
-typedef struct __krb5_serializer * krb5_ser_handle;
+typedef const struct __krb5_serializer * krb5_ser_handle;
typedef struct __krb5_serializer krb5_ser_entry;
krb5_ser_handle krb5_find_serializer
@@ -1793,10 +1793,10 @@ typedef struct _krb5_kt_ops {
krb5_keytab_entry *);
/* Handle for serializer */
- void * serializer;
+ const krb5_ser_entry *serializer;
} krb5_kt_ops;
-extern krb5_kt_ops krb5_kt_dfl_ops;
+extern const krb5_kt_ops krb5_kt_dfl_ops;
extern krb5_error_code krb5int_translate_gai_error (int);
diff --git a/src/include/krb5.hin b/src/include/krb5.hin
index ceb5a47b8..a1fb92617 100644
--- a/src/include/krb5.hin
+++ b/src/include/krb5.hin
@@ -1328,7 +1328,7 @@ typedef struct krb5_keytab_entry_st {
struct _krb5_kt_ops;
typedef struct _krb5_kt { /* should move into k5-int.h */
krb5_magic magic;
- struct _krb5_kt_ops *ops;
+ const struct _krb5_kt_ops *ops;
krb5_pointer data;
} *krb5_keytab;
#else