File authenticate_migration.cpp
FileList > cubrid > src > object > authenticate_migration.cpp
Go to the source code of this file
#include "authenticate.h"
#include "db.h"
#include "dbi.h"
#include "dbtype.h"
#include "authenticate_grant.hpp"
#include "object_accessor.h"
#include "object_print.h"
#include "set_object.h"
#include "schema_manager.h"
#include "extract_schema.hpp"
#include "printer.hpp"
#include "jsp_cl.h"
Classes
Public Types
Public Functions
Public Static Functions
| Type |
Name |
| int |
add_class_grant (CLASS_AUTH * auth, MOP source, MOP user, int cache)
|
| int |
build_class_grant_list (CLASS_AUTH * cl_auth, MOP class_mop)
|
| int |
class_grant_loop (extract_context & ctxt, print_output & output_ctx, CLASS_AUTH * auth, DB_OBJECT_TYPE obj_type)
|
| CLASS_USER * |
find_or_add_user (CLASS_AUTH * auth, MOP user_obj)
|
| void |
free_class_grants (CLASS_GRANT * grants)
|
| void |
free_class_users (CLASS_USER * users)
|
| void |
issue_grant_statement (extract_context & ctxt, print_output & output_ctx, CLASS_AUTH * auth, CLASS_GRANT * grant, int authbits, DB_OBJECT_TYPE obj_type)
|
| CLASS_GRANT * |
make_class_grant (CLASS_USER * user, int cache)
|
| CLASS_USER * |
make_class_user (MOP user_obj)
|
Macros
| Type |
Name |
| define |
AU_MAX_BIT 0x40 /\* [**AU\_EXECUTE**](authenticate__constants_8h.md#define-au_execute) \*/
|
| define |
AU_MIN_BIT 1 /\* [**AU\_SELECT**](authenticate__constants_8h.md#define-au_select) \*/
|
| define |
SPLIT_USER_SPECIFIED_NAME (name, owner_name, class_name) /* multi line expression */
|
Public Types Documentation
typedef CLASS_AUTH
typedef struct class_auth CLASS_AUTH;
typedef CLASS_GRANT
typedef struct class_grant CLASS_GRANT;
typedef CLASS_USER
typedef struct class_user CLASS_USER;
Public Functions Documentation
function au_export_grants
int au_export_grants (
extract_context & ctxt,
print_output & output_ctx,
MOP class_mop,
DB_OBJECT_TYPE obj_type
)
function au_export_users
int au_export_users (
extract_context & ctxt,
print_output & output_ctx
)
Public Static Functions Documentation
function add_class_grant
static int add_class_grant (
CLASS_AUTH * auth,
MOP source,
MOP user,
int cache
)
function build_class_grant_list
static int build_class_grant_list (
CLASS_AUTH * cl_auth,
MOP class_mop
)
function class_grant_loop
static int class_grant_loop (
extract_context & ctxt,
print_output & output_ctx,
CLASS_AUTH * auth,
DB_OBJECT_TYPE obj_type
)
function find_or_add_user
static CLASS_USER * find_or_add_user (
CLASS_AUTH * auth,
MOP user_obj
)
function free_class_grants
static void free_class_grants (
CLASS_GRANT * grants
)
function free_class_users
static void free_class_users (
CLASS_USER * users
)
function issue_grant_statement
static void issue_grant_statement (
extract_context & ctxt,
print_output & output_ctx,
CLASS_AUTH * auth,
CLASS_GRANT * grant,
int authbits,
DB_OBJECT_TYPE obj_type
)
function make_class_grant
static CLASS_GRANT * make_class_grant (
CLASS_USER * user,
int cache
)
function make_class_user
static CLASS_USER * make_class_user (
MOP user_obj
)
Macro Definition Documentation
define AU_MAX_BIT
#define AU_MAX_BIT `0x40 /* AU_EXECUTE */`
define AU_MIN_BIT
#define AU_MIN_BIT `1 /* AU_SELECT */`
define SPLIT_USER_SPECIFIED_NAME
#define SPLIT_USER_SPECIFIED_NAME (
name,
owner_name,
class_name
) `/* multi line expression */`
The documentation for this class was generated from the following file cubrid/src/object/authenticate_migration.cpp