For consistency with the other plugin vtables, declare the name field
as const char * in the audit, authdata, clpreauth, and kdcpreauth
pluggable interface headers.
[ghudson@mit.edu: rewrote commit message]
ticket: 9028 (new)
/* vtable declaration */
typedef struct krb5_audit_vtable_st {
/* Mandatory: name of module. */
- char *name;
+ const char *name;
krb5_audit_open_fn open;
krb5_audit_close_fn close;
krb5_audit_kdc_start_fn kdc_start;
void *dst_request_context);
typedef struct krb5plugin_authdata_client_ftable_v0 {
- char *name;
+ const char *name;
krb5_authdatatype *ad_type_list;
authdata_client_plugin_init_proc init;
authdata_client_plugin_fini_proc fini;
typedef struct krb5_clpreauth_vtable_st {
/* Mandatory: name of module. */
- char *name;
+ const char *name;
/* Mandatory: pointer to zero-terminated list of pa_types which this module
* can provide services for. */
typedef struct krb5_kdcpreauth_vtable_st {
/* Mandatory: name of module. */
- char *name;
+ const char *name;
/* Mandatory: pointer to zero-terminated list of pa_types which this module
* can provide services for. */