MySQL 9.1.0
Source Code Documentation
s_mysql_mysql_security_context_factory Struct Reference

#include <security_context.h>

Public Attributes

mysql_service_status_t(* create )(Security_context_handle *out_ctx)
 Creates a new security context and initializes it with the defaults (no access, no user etc). More...
 
mysql_service_status_t(* destroy )(Security_context_handle ctx)
 Deallocates a security context. More...
 
mysql_service_status_t(* copy )(Security_context_handle in_ctx, Security_context_handle *out_ctx)
 Duplicates a security context. More...
 

Member Data Documentation

◆ copy

mysql_service_status_t(* s_mysql_mysql_security_context_factory::copy) (Security_context_handle in_ctx, Security_context_handle *out_ctx)

Duplicates a security context.

Parameters
[in]in_ctxThe handle of the security context to copy
[out]out_ctxplaceholder for the handle of the copied security context
Return values
truefailure
falsesuccess

◆ create

mysql_service_status_t(* s_mysql_mysql_security_context_factory::create) (Security_context_handle *out_ctx)

Creates a new security context and initializes it with the defaults (no access, no user etc).

Parameters
[out]out_ctxplaceholder for the newly created security context handle
Return values
truefailure
falsesuccess

◆ destroy

mysql_service_status_t(* s_mysql_mysql_security_context_factory::destroy) (Security_context_handle ctx)

Deallocates a security context.

Parameters
[in]ctxThe handle of the security context to destroy
Return values
truefailure
falsesuccess

The documentation for this struct was generated from the following file: