x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4528 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -314,6 +314,29 @@ struct krb5_rcache_data;
|
|||||||
typedef struct krb5_rcache_data *krb5_rcache;
|
typedef struct krb5_rcache_data *krb5_rcache;
|
||||||
typedef Authenticator krb5_donot_reply;
|
typedef Authenticator krb5_donot_reply;
|
||||||
|
|
||||||
|
typedef struct krb5_storage {
|
||||||
|
void *data;
|
||||||
|
size_t (*fetch)(struct krb5_storage*, void*, size_t);
|
||||||
|
size_t (*store)(struct krb5_storage*, void*, size_t);
|
||||||
|
off_t (*seek)(struct krb5_storage*, off_t, int);
|
||||||
|
void (*free)(struct krb5_storage*);
|
||||||
|
} krb5_storage;
|
||||||
|
|
||||||
|
typedef struct krb5_keytab_entry {
|
||||||
|
krb5_principal principal;
|
||||||
|
krb5_kvno vno;
|
||||||
|
krb5_keyblock keyblock;
|
||||||
|
} krb5_keytab_entry;
|
||||||
|
|
||||||
|
typedef struct krb5_kt_cursor {
|
||||||
|
int fd;
|
||||||
|
krb5_storage *sp;
|
||||||
|
} krb5_kt_cursor;
|
||||||
|
|
||||||
|
struct krb5_keytab_data;
|
||||||
|
|
||||||
|
typedef struct krb5_keytab_data *krb5_keytab;
|
||||||
|
|
||||||
struct krb5_keytab_data {
|
struct krb5_keytab_data {
|
||||||
char *prefix;
|
char *prefix;
|
||||||
krb5_error_code (*resolve)(krb5_context, const char*, krb5_keytab);
|
krb5_error_code (*resolve)(krb5_context, const char*, krb5_keytab);
|
||||||
@@ -330,7 +353,7 @@ struct krb5_keytab_data {
|
|||||||
void *data;
|
void *data;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct krb5_keytab_data *krb5_keytab, krb5_kt_ops;
|
typedef struct krb5_keytab_data krb5_kt_ops;
|
||||||
|
|
||||||
struct krb5_keytab_key_proc_args {
|
struct krb5_keytab_key_proc_args {
|
||||||
krb5_keytab keytab;
|
krb5_keytab keytab;
|
||||||
@@ -339,25 +362,6 @@ struct krb5_keytab_key_proc_args {
|
|||||||
|
|
||||||
typedef struct krb5_keytab_key_proc_args krb5_keytab_key_proc_args;
|
typedef struct krb5_keytab_key_proc_args krb5_keytab_key_proc_args;
|
||||||
|
|
||||||
typedef struct krb5_keytab_entry {
|
|
||||||
krb5_principal principal;
|
|
||||||
krb5_kvno vno;
|
|
||||||
krb5_keyblock keyblock;
|
|
||||||
} krb5_keytab_entry;
|
|
||||||
|
|
||||||
typedef struct krb5_storage {
|
|
||||||
void *data;
|
|
||||||
size_t (*fetch)(struct krb5_storage*, void*, size_t);
|
|
||||||
size_t (*store)(struct krb5_storage*, void*, size_t);
|
|
||||||
off_t (*seek)(struct krb5_storage*, off_t, int);
|
|
||||||
void (*free)(struct krb5_storage*);
|
|
||||||
} krb5_storage;
|
|
||||||
|
|
||||||
typedef struct krb5_kt_cursor {
|
|
||||||
int fd;
|
|
||||||
krb5_storage *sp;
|
|
||||||
} krb5_kt_cursor;
|
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
KRB5_AUTH_CONTEXT_DO_TIME = 1,
|
KRB5_AUTH_CONTEXT_DO_TIME = 1,
|
||||||
KRB5_AUTH_CONTEXT_RET_TIME = 2,
|
KRB5_AUTH_CONTEXT_RET_TIME = 2,
|
||||||
|
Reference in New Issue
Block a user