summaryrefslogtreecommitdiffstats
path: root/src/include/k5-plugin.h
diff options
context:
space:
mode:
authorAlexandra Ellwood <lxs@mit.edu>2006-04-24 20:59:52 +0000
committerAlexandra Ellwood <lxs@mit.edu>2006-04-24 20:59:52 +0000
commit2eeb1594833e3d2ee3086b4179ac5df19c5bfd8f (patch)
treeb3944b513c6009cffb59ef4aa912c190e26475c1 /src/include/k5-plugin.h
parenta89c12117a9eb2a6a0374a36f1cd4798049753d3 (diff)
downloadkrb5-2eeb1594833e3d2ee3086b4179ac5df19c5bfd8f.tar.gz
krb5-2eeb1594833e3d2ee3086b4179ac5df19c5bfd8f.tar.xz
krb5-2eeb1594833e3d2ee3086b4179ac5df19c5bfd8f.zip
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
Diffstat (limited to 'src/include/k5-plugin.h')
-rw-r--r--src/include/k5-plugin.h5
1 files changed, 2 insertions, 3 deletions
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)