14#define OPENVAS_KRB5_CACHED 1
80#define okrb5_slice_from_str(str) \
83 .data = (void *) str, .len = str == NULL ? 0 : strlen (str) \
86#define okrb5_set_slice_from_str(slice, str) \
89 slice.data = (void *) str; \
90 slice.len = str == NULL ? 0 : strlen (str); \
@ O_KRB5_EXPECTED_NOT_NULL
@ O_KRB5_CONF_NOT_CREATED
@ O_KRB5_TMP_CONF_NOT_MOVED
@ O_KRB5_TMP_CONF_NOT_CREATED
char * okrb5_error_code_to_string(const OKrb5ErrorCode code)
void okrb5_gss_free_context(struct OKrb5GSSContext *context)
OKrb5ErrorCode o_krb5_add_realm(const OKrb5Credential *creds, const char *kdc)
OKrb5ErrorCode o_krb5_find_kdc(const OKrb5Credential *creds, char **kdc)
OKrb5ErrorCode o_krb5_gss_prepare_context(const OKrb5Credential *creds, struct OKrb5GSSContext *gss_context)
OKrb5ErrorCode o_krb5_gss_session_key_context(struct OKrb5GSSContext *gss_context, struct OKrb5Slice **out)
struct OKrb5GSSContext * okrb5_gss_init_context(void)
OKrb5ErrorCode o_krb5_gss_update_context(struct OKrb5GSSContext *gss_context, const struct OKrb5Slice *in_data, struct OKrb5Slice **out_data, bool *more)
struct OKrb5Target target
struct OKrb5Slice config_path
struct OKrb5Slice service
struct OKrb5Slice host_name
struct OKrb5Slice password