krb5: Move krb5_plugin_load_t typedef to header
This commit is contained in:
@@ -48,6 +48,14 @@ typedef struct krb5_plugin_common_ftable_desc krb5_plugin_common_ftable;
|
|||||||
typedef struct krb5_plugin_common_ftable_desc *krb5_plugin_common_ftable_p;
|
typedef struct krb5_plugin_common_ftable_desc *krb5_plugin_common_ftable_p;
|
||||||
typedef struct krb5_plugin_common_ftable_desc * const krb5_plugin_common_ftable_cp;
|
typedef struct krb5_plugin_common_ftable_desc * const krb5_plugin_common_ftable_cp;
|
||||||
|
|
||||||
|
typedef krb5_error_code
|
||||||
|
(KRB5_CALLCONV krb5_plugin_load_ft)(krb5_context context,
|
||||||
|
krb5_get_instance_func_t *func,
|
||||||
|
size_t *n_ftables,
|
||||||
|
krb5_plugin_common_ftable_cp **ftables);
|
||||||
|
|
||||||
|
typedef krb5_plugin_load_ft *krb5_plugin_load_t;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* All plugins must export a function named "<type>_plugin_load" with
|
* All plugins must export a function named "<type>_plugin_load" with
|
||||||
* a signature of:
|
* a signature of:
|
||||||
|
@@ -514,12 +514,6 @@ add_dso_plugin_struct(krb5_context context,
|
|||||||
return plugins;
|
return plugins;
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef krb5_error_code
|
|
||||||
(KRB5_CALLCONV *krb5_plugin_load_t)(krb5_context context,
|
|
||||||
krb5_get_instance_func_t *func,
|
|
||||||
size_t *n_ftables,
|
|
||||||
krb5_plugin_common_ftable_cp **ftables);
|
|
||||||
|
|
||||||
static krb5_boolean
|
static krb5_boolean
|
||||||
validate_plugin_deps(krb5_context context,
|
validate_plugin_deps(krb5_context context,
|
||||||
struct krb5_plugin_data *caller,
|
struct krb5_plugin_data *caller,
|
||||||
|
Reference in New Issue
Block a user