Go to the source code of this file.
◆ disable_server_read_mode()
int disable_server_read_mode |
( |
| ) |
|
Disable the read only mode in the server.
- Returns
- the operation status
- Return values
-
◆ enable_server_read_mode()
int enable_server_read_mode |
( |
| ) |
|
Enable the super read only mode in the server.
- Returns
- the operation status
- Return values
-
◆ get_read_mode_state()
int get_read_mode_state |
( |
bool * |
read_only_enabled, |
|
|
bool * |
super_read_only_enabled |
|
) |
| |
Get read mode status from server.
- Parameters
-
read_only_enabled | Update with value of read only mode |
super_read_only_enabled | Update with value of super read only mode |
- Returns
- the operation status
- Return values
-
◆ set_read_mode_state()
int set_read_mode_state |
( |
bool |
read_only_enabled, |
|
|
bool |
super_read_only_enabled |
|
) |
| |
Set read mode status from server.
- Parameters
-
read_only_enabled | Value to set on read only mode |
super_read_only_enabled | Value to set on super read only mode |
- Returns
- the operation status
- Return values
-