new prototypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2736 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -168,7 +168,10 @@ typedef struct krb5_ccache_data{
|
||||
}krb5_ccache_data;
|
||||
|
||||
typedef struct krb5_cc_cursor{
|
||||
int fd;
|
||||
union {
|
||||
int fd;
|
||||
void *v;
|
||||
} u;
|
||||
}krb5_cc_cursor;
|
||||
|
||||
typedef struct krb5_ccache_data *krb5_ccache;
|
||||
@@ -280,10 +283,6 @@ typedef struct krb5_rcache{
|
||||
int dummy;
|
||||
}krb5_rcache;
|
||||
|
||||
typedef struct krb5_fcache{
|
||||
char *filename;
|
||||
}krb5_fcache;
|
||||
|
||||
typedef struct krb5_keytab_data {
|
||||
char *filename;
|
||||
}krb5_keytab_data;
|
||||
@@ -449,6 +448,16 @@ void
|
||||
krb5_free_keyblock(krb5_context context,
|
||||
krb5_keyblock *keyblock);
|
||||
|
||||
krb5_error_code
|
||||
krb5_copy_keyblock (krb5_context context,
|
||||
const krb5_keyblock *inblock,
|
||||
krb5_keyblock **to);
|
||||
|
||||
krb5_error_code
|
||||
krb5_copy_keyblock_contents (krb5_context context,
|
||||
const krb5_keyblock *inblock,
|
||||
krb5_keyblock *to);
|
||||
|
||||
krb5_error_code
|
||||
krb5_auth_setcksumtype(krb5_context context,
|
||||
krb5_auth_context auth_context,
|
||||
@@ -689,10 +698,24 @@ krb5_verify_ap_req(krb5_context context,
|
||||
krb5_flags *ap_req_options,
|
||||
krb5_ticket **ticket);
|
||||
|
||||
krb5_error_code
|
||||
krb5_free_creds_contents (krb5_context context,
|
||||
krb5_creds *creds);
|
||||
|
||||
krb5_error_code
|
||||
krb5_free_creds (krb5_context context,
|
||||
krb5_creds *creds);
|
||||
|
||||
krb5_error_code
|
||||
krb5_copy_creds (krb5_context context,
|
||||
const krb5_creds *incred,
|
||||
krb5_creds **outcred);
|
||||
|
||||
krb5_error_code
|
||||
krb5_copy_creds_contents (krb5_context context,
|
||||
const krb5_creds *incred,
|
||||
krb5_creds *c);
|
||||
|
||||
typedef EncAPRepPart krb5_ap_rep_enc_part;
|
||||
|
||||
krb5_error_code
|
||||
|
@@ -103,18 +103,26 @@
|
||||
#include <hdb_err.h>
|
||||
#include <error.h>
|
||||
|
||||
/* data.c */
|
||||
|
||||
krb5_error_code krb5_data_alloc(krb5_data *, int);
|
||||
krb5_error_code krb5_data_realloc(krb5_data *, int);
|
||||
krb5_error_code krb5_data_copy(krb5_data *, void *, size_t);
|
||||
|
||||
/* set_default_realm.c */
|
||||
|
||||
krb5_error_code
|
||||
krb5_set_default_realm(krb5_context context,
|
||||
char *realm);
|
||||
|
||||
/* get_default_realm.c */
|
||||
|
||||
krb5_error_code
|
||||
krb5_get_default_realm(krb5_context context,
|
||||
char **realm);
|
||||
|
||||
/* config_file.c */
|
||||
|
||||
krb5_error_code krb5_config_parse_file (const char *fname,
|
||||
krb5_config_section **res);
|
||||
const void *krb5_config_get_next (krb5_config_section *c,
|
||||
@@ -125,6 +133,15 @@ const void *krb5_config_vget_next (krb5_config_section *c,
|
||||
krb5_config_binding **pointer,
|
||||
int type,
|
||||
va_list args);
|
||||
|
||||
const void *krb5_config_get (krb5_config_section *c,
|
||||
int type,
|
||||
...);
|
||||
|
||||
const void *krb5_config_vget (krb5_config_section *c,
|
||||
int type,
|
||||
va_list args);
|
||||
|
||||
const char *krb5_config_get_string (krb5_config_section *c,
|
||||
...);
|
||||
const char *krb5_config_vget_string (krb5_config_section *c,
|
||||
|
Reference in New Issue
Block a user