unify hdb_so_method and hdb_method
This commit is contained in:
@@ -265,11 +265,10 @@ typedef struct HDB {
|
||||
|
||||
#define HDB_INTERFACE_VERSION 8
|
||||
|
||||
struct hdb_so_method {
|
||||
int minor_version;
|
||||
struct hdb_method {
|
||||
int version;
|
||||
krb5_error_code (KRB5_LIB_CALL *init)(krb5_context, void **);
|
||||
void (KRB5_LIB_CALL *fini)(void *);
|
||||
int version;
|
||||
const char *prefix;
|
||||
krb5_error_code (*create)(krb5_context, HDB **, const char *filename);
|
||||
};
|
||||
@@ -289,12 +288,6 @@ typedef krb5_error_code (*hdb_foreach_func_t)(krb5_context, HDB*,
|
||||
hdb_entry_ex*, void*);
|
||||
extern krb5_kt_ops hdb_kt_ops;
|
||||
|
||||
struct hdb_method {
|
||||
int interface_version;
|
||||
const char *prefix;
|
||||
krb5_error_code (*create)(krb5_context, HDB **, const char *filename);
|
||||
};
|
||||
|
||||
extern const int hdb_interface_version;
|
||||
|
||||
#include <hdb-protos.h>
|
||||
|
Reference in New Issue
Block a user