diff options
author | Greg Hudson <ghudson@mit.edu> | 2013-06-14 01:33:26 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2013-06-27 02:00:51 -0400 |
commit | e0a74797bd3a8395b81e68ecfa7ada6e2b4be4c6 (patch) | |
tree | ce30d03b7771121a63cd7e0be04a2952a0aad811 /src/include | |
parent | 53e5c850e05f011e9e7f25c2032aec51d8b352a9 (diff) | |
download | krb5-e0a74797bd3a8395b81e68ecfa7ada6e2b4be4c6.tar.gz krb5-e0a74797bd3a8395b81e68ecfa7ada6e2b4be4c6.tar.xz krb5-e0a74797bd3a8395b81e68ecfa7ada6e2b4be4c6.zip |
Provide plugin module ordering guarantees
Rewrite the plugin internals so that modules have a well-defined
order--either the order of enable_only tags, or dynamic modules
followed by the built-in modules in order of registration.
ticket: 7665 (new)
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/k5-int.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h index 73f404bdf7..63e0e8a32e 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -1057,21 +1057,11 @@ krb5_authdata_free_internal(krb5_context kcontext, * and krb5.conf man page. */ -/* - * A linked list entry mapping a module name to a module initvt function. The - * entry may also include a dynamic object handle so that it can be released - * when the context is destroyed. - */ -struct plugin_mapping { - char *modname; - krb5_plugin_initvt_fn module; - struct plugin_file_handle *dyn_handle; - struct plugin_mapping *next; -}; +struct plugin_mapping; /* Holds krb5_context information about each pluggable interface. */ struct plugin_interface { - struct plugin_mapping *modules; + struct plugin_mapping **modules; krb5_boolean configured; }; |