CUBRID Engine  latest
broker_acl.h
Go to the documentation of this file.
1 /*
2  * Copyright 2008 Search Solution Corporation
3  * Copyright 2016 CUBRID Corporation
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18 
19 
20 /*
21  * broker_acl.h -
22  */
23 
24 #ifndef _BROKER_ACL_H_
25 #define _BROKER_ACL_H_
26 
27 #ident "$Id$"
28 
29 #include "broker_shm.h"
30 
32  char *admin_err_msg);
33 extern int access_control_read_config_file (T_SHM_APPL_SERVER * shm_appl, char *filename, char *admin_err_msg);
35  unsigned char *address);
36 
37 #endif /* _BROKER_ACL_H_ */
static char * dbuser
static T_BROKER_INFO * br_info_p
Definition: broker.c:312
int access_control_check_right(T_SHM_APPL_SERVER *shm_as_p, char *dbname, char *dbuser, unsigned char *address)
Definition: broker_acl.c:401
int access_control_read_config_file(T_SHM_APPL_SERVER *shm_appl, char *filename, char *admin_err_msg)
Definition: broker_acl.c:112
static char * dbname
static T_SHM_APPL_SERVER * shm_appl
Definition: broker.c:311
static T_SHM_BROKER * shm_br
Definition: broker.c:310
char admin_err_msg[ADMIN_ERR_MSG_SIZE]
T_SHM_APPL_SERVER * shm_as_p
Definition: shard_proxy.c:43
int access_control_set_shm(T_SHM_APPL_SERVER *shm_as_cp, T_BROKER_INFO *br_info_p, T_SHM_BROKER *shm_br, char *admin_err_msg)
Definition: broker_acl.c:53