MySQL 8.4.0
Source Code Documentation
krb5_interface.h File Reference
#include <string>
#include <assert.h>
#include <krb5/krb5.h>
#include <my_sharedlib.h>
#include <profile.h>
#include "log_client.h"

Go to the source code of this file.

Classes

class  auth_ldap_sasl_client::Krb5_interface
 Class representing interface to KRB5 functions. More...
 

Namespaces

namespace  auth_ldap_sasl_client
 

Macros

#define KRB5_INTERFACE_DECLARE_FUNCTION(FUNCTION)
 Shortcut macro defining getter of the interfacee function. More...
 
#define KRB5_INTERFACE_DECLARE_FUNCTION_PTR(FUNCTION)    FUNCTION##_type FUNCTION##_ptr;
 Shortcut macro defining pointer to the interfacee function. More...
 

Typedefs

using auth_ldap_sasl_client::krb5_build_principal_type = krb5_error_code(*)(krb5_context context, krb5_principal *princ, unsigned int rlen, const char *realm,...)
 
using auth_ldap_sasl_client::krb5_cc_close_type = krb5_error_code(*)(krb5_context context, krb5_ccache cache)
 
using auth_ldap_sasl_client::krb5_cc_default_type = krb5_error_code(*)(krb5_context context, krb5_ccache *ccache)
 
using auth_ldap_sasl_client::krb5_cc_get_principal_type = krb5_error_code(*)(krb5_context context, krb5_ccache cache, krb5_principal *principal)
 
using auth_ldap_sasl_client::krb5_cc_initialize_type = krb5_error_code(*)(krb5_context context, krb5_ccache cache, krb5_principal principal)
 
using auth_ldap_sasl_client::krb5_cc_remove_cred_type = krb5_error_code(*)(krb5_context context, krb5_ccache cache, krb5_flags flags, krb5_creds *creds)
 
using auth_ldap_sasl_client::krb5_cc_retrieve_cred_type = krb5_error_code(*)(krb5_context context, krb5_ccache cache, krb5_flags flags, krb5_creds *mcreds, krb5_creds *creds)
 
using auth_ldap_sasl_client::krb5_cc_store_cred_type = krb5_error_code(*)(krb5_context context, krb5_ccache cache, krb5_creds *creds)
 
using auth_ldap_sasl_client::krb5_free_context_type = void(*)(krb5_context context)
 
using auth_ldap_sasl_client::krb5_free_cred_contents_type = void(*)(krb5_context context, krb5_creds *val)
 
using auth_ldap_sasl_client::krb5_free_default_realm_type = void(*)(krb5_context context, char *lrealm)
 
using auth_ldap_sasl_client::krb5_free_error_message_type = void(*)(krb5_context ctx, const char *msg)
 
using auth_ldap_sasl_client::krb5_free_principal_type = void(*)(krb5_context context, krb5_principal val)
 
using auth_ldap_sasl_client::krb5_free_unparsed_name_type = void(*)(krb5_context context, char *val)
 
using auth_ldap_sasl_client::krb5_get_default_realm_type = krb5_error_code(*)(krb5_context context, char **lrealm)
 
using auth_ldap_sasl_client::krb5_get_error_message_type = const char *(*)(krb5_context ctx, krb5_error_code code)
 
using auth_ldap_sasl_client::krb5_get_init_creds_opt_alloc_type = krb5_error_code(*)(krb5_context context, krb5_get_init_creds_opt **opt)
 
using auth_ldap_sasl_client::krb5_get_init_creds_opt_free_type = void(*)(krb5_context context, krb5_get_init_creds_opt *opt)
 
using auth_ldap_sasl_client::krb5_get_init_creds_password_type = krb5_error_code(*)(krb5_context context, krb5_creds *creds, krb5_principal client, const char *password, krb5_prompter_fct prompter, void *data, krb5_deltat start_time, const char *in_tkt_service, krb5_get_init_creds_opt *k5_gic_options)
 
using auth_ldap_sasl_client::krb5_get_profile_type = krb5_error_code(*)(krb5_context context, struct _profile_t **profile)
 
using auth_ldap_sasl_client::krb5_init_context_type = krb5_error_code(*)(krb5_context *context)
 
using auth_ldap_sasl_client::krb5_parse_name_type = krb5_error_code(*)(krb5_context context, const char *name, krb5_principal *principal_out)
 
using auth_ldap_sasl_client::krb5_timeofday_type = krb5_error_code(*)(krb5_context context, krb5_timestamp *timeret)
 
using auth_ldap_sasl_client::krb5_unparse_name_type = krb5_error_code(*)(krb5_context context, krb5_const_principal principal, char **name)
 
using auth_ldap_sasl_client::krb5_verify_init_creds_type = krb5_error_code(*)(krb5_context context, krb5_creds *creds, krb5_principal server, krb5_keytab keytab, krb5_ccache *ccache, krb5_verify_init_creds_opt *options)
 
using auth_ldap_sasl_client::profile_get_boolean_type = long(*)(profile_t profile, const char *name, const char *subname, const char *subsubname, int def_val, int *ret_default)
 
using auth_ldap_sasl_client::profile_get_string_type = long(*)(profile_t profile, const char *name, const char *subname, const char *subsubname, const char *def_val, char **ret_string)
 
using auth_ldap_sasl_client::profile_release_type = void(*)(profile_t profile)
 
using auth_ldap_sasl_client::profile_release_string_type = void(*)(char *str)
 

Macro Definition Documentation

◆ KRB5_INTERFACE_DECLARE_FUNCTION

#define KRB5_INTERFACE_DECLARE_FUNCTION (   FUNCTION)
Value:
auto FUNCTION() { \
assert(FUNCTION##_ptr); \
return FUNCTION##_ptr; \
}

Shortcut macro defining getter of the interfacee function.

◆ KRB5_INTERFACE_DECLARE_FUNCTION_PTR

#define KRB5_INTERFACE_DECLARE_FUNCTION_PTR (   FUNCTION)     FUNCTION##_type FUNCTION##_ptr;

Shortcut macro defining pointer to the interfacee function.