Skip to content

File authenticate_grant.hpp

FileList > cubrid > src > object > authenticate_grant.hpp

Go to the source code of this file

  • #include "dbtype_def.h"
  • #include <stdio.h>

Classes

Type Name
struct au_grant

Public Types

Type Name
typedef struct au_grant AU_GRANT

Public Functions

Type Name
int add_grant_entry (DB_SET * grants, DB_OBJECT_TYPE obj_type, MOP obj_mop, MOP grantor)
int apply_grants (MOP auth, MOP class_mop, unsigned int * bits)
int appropriate_error (unsigned int bits, unsigned int requested)
void au_print_grants (MOP auth, FILE * fp)
void drop_grant_entry (DB_SET * grants, int index)
int get_grants (MOP auth, DB_SET ** grant_ptr, int filter)

Macros

Type Name
define GRANT_ENTRY_CACHE (index) ((index) + 3)
define GRANT_ENTRY_CLASS (index) ((index) + 1)
define GRANT_ENTRY_LENGTH 4
define GRANT_ENTRY_SOURCE (index) ((index) + 2)
define GRANT_ENTRY_TYPE (index) ((index))

Public Types Documentation

typedef AU_GRANT

typedef struct au_grant AU_GRANT;

Public Functions Documentation

function add_grant_entry

int add_grant_entry (
    DB_SET * grants,
    DB_OBJECT_TYPE obj_type,
    MOP obj_mop,
    MOP grantor
) 

function apply_grants

int apply_grants (
    MOP auth,
    MOP class_mop,
    unsigned  int * bits
) 

function appropriate_error

int appropriate_error (
    unsigned  int bits,
    unsigned  int requested
) 

function au_print_grants

void au_print_grants (
    MOP auth,
    FILE * fp
) 

function drop_grant_entry

void drop_grant_entry (
    DB_SET * grants,
    int index
) 

function get_grants

int get_grants (
    MOP auth,
    DB_SET ** grant_ptr,
    int filter
) 

Macro Definition Documentation

define GRANT_ENTRY_CACHE

#define GRANT_ENTRY_CACHE (
    index
) `((index) + 3)`

define GRANT_ENTRY_CLASS

#define GRANT_ENTRY_CLASS (
    index
) `((index) + 1)`

define GRANT_ENTRY_LENGTH

#define GRANT_ENTRY_LENGTH `4`

define GRANT_ENTRY_SOURCE

#define GRANT_ENTRY_SOURCE (
    index
) `((index) + 2)`

define GRANT_ENTRY_TYPE

#define GRANT_ENTRY_TYPE (
    index
) `((index))`


The documentation for this class was generated from the following file cubrid/src/object/authenticate_grant.hpp