From 2eeb1594833e3d2ee3086b4179ac5df19c5bfd8f Mon Sep 17 00:00:00 2001 From: Alexandra Ellwood Date: Mon, 24 Apr 2006 20:59:52 +0000 Subject: Added CoreFoundation bundle plugin support Added CoreFoundation bundle plugin support to support library bundle plugin code. Also modified plugin types so they allocate a list of pointers rather than a list of structs so that we can reuse the code that generates the pointer types. (Basically now krb5int_open_plugin_dir() can call krb5int_open_plugin() rather than doing nearly the same thing.) ticket: new target_version: 1.5 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17950 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/k5-plugin.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/include/k5-plugin.h') diff --git a/src/include/k5-plugin.h b/src/include/k5-plugin.h index 2ce5b9f972..0e3daa4f52 100644 --- a/src/include/k5-plugin.h +++ b/src/include/k5-plugin.h @@ -63,9 +63,8 @@ struct plugin_file_handle; /* opaque */ struct plugin_dir_handle { - /* This points to a list of plugin_file_handle structs, terminated - by one passing NULL_HANDLE. */ - struct plugin_file_handle *files; + /* This points to a NULL-terminated list of pointers to plugin_file_handle structs */ + struct plugin_file_handle **files; }; #define PLUGIN_DIR_INIT(P) ((P)->files = NULL) #define PLUGIN_DIR_OPEN(P) ((P)->files != NULL) -- cgit