Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
a4ee32c4
Commit
a4ee32c4
authored
Dec 28, 2004
by
jon@gigan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mgmapi.h: Trying the HTML formatting commands for Doxygen again...
parent
66aef95b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
79 additions
and
79 deletions
+79
-79
ndb/include/mgmapi/mgmapi.h
ndb/include/mgmapi/mgmapi.h
+79
-79
No files found.
ndb/include/mgmapi/mgmapi.h
View file @
a4ee32c4
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
/**
/**
* @mainpage NDB Cluster Management API
* @mainpage NDB Cluster Management API
*
*
* The NDB Cluster Management API (MGM API) is a C API
* The NDB Cluster Management API (MGM API) is a C API
* that is used to:
* that is used to:
* - Start and stop database nodes (DB nodes)
* - Start and stop database nodes (DB nodes)
* - Start and stop NDB Cluster backups
* - Start and stop NDB Cluster backups
...
@@ -29,18 +29,18 @@
...
@@ -29,18 +29,18 @@
*
*
* @section General Concepts
* @section General Concepts
*
*
* Each MGM API function needs a management server handle
* Each MGM API function needs a management server handle
* of type
Mgm_C_Api::NdbMgmHandle.
* of type
<code>Mgm_C_Api::NdbMgmHandle</code>.
* This handle is initally created by calling the
* This handle is initally created by calling the
* function
ndb_mgm_create_handle()
.
* function
<code>ndb_mgm_create_handle()</code>
.
*
*
* A function can return:
* A function can return:
* -# An integer value.
* -# An integer value.
* A value of
-1
indicates an error.
* A value of
<b>-1</b>
indicates an error.
* -# A pointer value. A
NULL
value indicates an error;
* -# A pointer value. A
<var>NULL</var>
value indicates an error;
* Otherwise, the return value must be
free()
ed by the user of the MGM API.
* Otherwise, the return value must be
<code>free()</code>
ed by the user of the MGM API.
*
*
* Error conditions can be identified by using the appropriate
* Error conditions can be identified by using the appropriate
* error-reporting functions.
* error-reporting functions.
*/
*/
...
@@ -130,7 +130,7 @@ extern "C" {
...
@@ -130,7 +130,7 @@ extern "C" {
struct
Ndb_Mgm_Error_Msg
{
struct
Ndb_Mgm_Error_Msg
{
enum
ndb_mgm_error
code
;
enum
ndb_mgm_error
code
;
const
char
*
msg
;
const
char
*
msg
;
};
};
const
struct
Ndb_Mgm_Error_Msg
ndb_mgm_error_msgs
[]
=
{
const
struct
Ndb_Mgm_Error_Msg
ndb_mgm_error_msgs
[]
=
{
...
@@ -156,19 +156,19 @@ extern "C" {
...
@@ -156,19 +156,19 @@ extern "C" {
/* Service errors - Backup */
/* Service errors - Backup */
{
NDB_MGM_COULD_NOT_START_BACKUP
,
"Could not start backup"
},
{
NDB_MGM_COULD_NOT_START_BACKUP
,
"Could not start backup"
},
{
NDB_MGM_COULD_NOT_ABORT_BACKUP
,
"Could not abort backup"
},
{
NDB_MGM_COULD_NOT_ABORT_BACKUP
,
"Could not abort backup"
},
/* Service errors - Single User Mode */
/* Service errors - Single User Mode */
{
NDB_MGM_COULD_NOT_ENTER_SINGLE_USER_MODE
,
{
NDB_MGM_COULD_NOT_ENTER_SINGLE_USER_MODE
,
"Could not enter single user mode"
},
"Could not enter single user mode"
},
{
NDB_MGM_COULD_NOT_EXIT_SINGLE_USER_MODE
,
{
NDB_MGM_COULD_NOT_EXIT_SINGLE_USER_MODE
,
"Could not exit single user mode"
},
"Could not exit single user mode"
},
/* Usage errors */
/* Usage errors */
{
NDB_MGM_USAGE_ERROR
,
{
NDB_MGM_USAGE_ERROR
,
"Usage error"
}
"Usage error"
}
};
};
const
int
ndb_mgm_noOfErrorMsgs
=
const
int
ndb_mgm_noOfErrorMsgs
=
sizeof
(
ndb_mgm_error_msgs
)
/
sizeof
(
struct
Ndb_Mgm_Error_Msg
);
sizeof
(
ndb_mgm_error_msgs
)
/
sizeof
(
struct
Ndb_Mgm_Error_Msg
);
/**
/**
...
@@ -203,7 +203,7 @@ extern "C" {
...
@@ -203,7 +203,7 @@ extern "C" {
* Cluster status
* Cluster status
*/
*/
struct
ndb_mgm_cluster_state
{
struct
ndb_mgm_cluster_state
{
int
no_of_nodes
;
/*< No of entries in the
int
no_of_nodes
;
/*< No of entries in the
*< node_states array
*< node_states array
*/
*/
struct
ndb_mgm_node_state
/*< An array with node_states*/
struct
ndb_mgm_node_state
/*< An array with node_states*/
...
@@ -215,7 +215,7 @@ extern "C" {
...
@@ -215,7 +215,7 @@ extern "C" {
* Default reply from the server
* Default reply from the server
*/
*/
struct
ndb_mgm_reply
{
struct
ndb_mgm_reply
{
int
return_code
;
/*< 0 if successful,
int
return_code
;
/*< 0 if successful,
*< otherwise error code.
*< otherwise error code.
*/
*/
char
message
[
256
];
/*< Error or reply message.*/
char
message
[
256
];
/*< Error or reply message.*/
...
@@ -250,14 +250,14 @@ extern "C" {
...
@@ -250,14 +250,14 @@ extern "C" {
*/
*/
NDB_MGM_CLUSTERLOG_INFO
=
2
,
/*< Informational messages*/
NDB_MGM_CLUSTERLOG_INFO
=
2
,
/*< Informational messages*/
NDB_MGM_CLUSTERLOG_WARNING
=
3
,
/*< Conditions that are not
NDB_MGM_CLUSTERLOG_WARNING
=
3
,
/*< Conditions that are not
*< error condition, but
*< error condition, but
*< might require handling
*< might require handling
*/
*/
NDB_MGM_CLUSTERLOG_ERROR
=
4
,
/*< Conditions that should be
NDB_MGM_CLUSTERLOG_ERROR
=
4
,
/*< Conditions that should be
*< corrected
*< corrected
*/
*/
NDB_MGM_CLUSTERLOG_CRITICAL
=
5
,
/*< Critical conditions, like
NDB_MGM_CLUSTERLOG_CRITICAL
=
5
,
/*< Critical conditions, like
*< device errors or out of
*< device errors or out of
*< resources
*< resources
*/
*/
NDB_MGM_CLUSTERLOG_ALERT
=
6
,
/*< A condition that should be
NDB_MGM_CLUSTERLOG_ALERT
=
6
,
/*< A condition that should be
...
@@ -279,7 +279,7 @@ extern "C" {
...
@@ -279,7 +279,7 @@ extern "C" {
* Events during all kinds of startups
* Events during all kinds of startups
*/
*/
NDB_MGM_EVENT_CATEGORY_STARTUP
=
CFG_LOGLEVEL_STARTUP
,
NDB_MGM_EVENT_CATEGORY_STARTUP
=
CFG_LOGLEVEL_STARTUP
,
/**
/**
* Events during shutdown
* Events during shutdown
*/
*/
...
@@ -298,13 +298,13 @@ extern "C" {
...
@@ -298,13 +298,13 @@ extern "C" {
NDB_MGM_EVENT_CATEGORY_ERROR
=
CFG_LOGLEVEL_ERROR
,
NDB_MGM_EVENT_CATEGORY_ERROR
=
CFG_LOGLEVEL_ERROR
,
NDB_MGM_EVENT_CATEGORY_GREP
=
CFG_LOGLEVEL_GREP
,
NDB_MGM_EVENT_CATEGORY_GREP
=
CFG_LOGLEVEL_GREP
,
NDB_MGM_EVENT_CATEGORY_BACKUP
=
CFG_LOGLEVEL_BACKUP
,
NDB_MGM_EVENT_CATEGORY_BACKUP
=
CFG_LOGLEVEL_BACKUP
,
NDB_MGM_MIN_EVENT_CATEGORY
=
CFG_MIN_LOGLEVEL
,
NDB_MGM_MIN_EVENT_CATEGORY
=
CFG_MIN_LOGLEVEL
,
NDB_MGM_MAX_EVENT_CATEGORY
=
CFG_MAX_LOGLEVEL
NDB_MGM_MAX_EVENT_CATEGORY
=
CFG_MAX_LOGLEVEL
};
};
/***************************************************************************/
/***************************************************************************/
/**
/**
* @name Functions: Error Handling
* @name Functions: Error Handling
* @{
* @{
*/
*/
...
@@ -328,7 +328,7 @@ extern "C" {
...
@@ -328,7 +328,7 @@ extern "C" {
/**
/**
* Get latest error description associated with a handle
* Get latest error description associated with a handle
*
*
* The error description gives some additional information to
* The error description gives some additional information to
* the error message.
* the error message.
*
*
* @param handle Management handle.
* @param handle Management handle.
...
@@ -342,50 +342,50 @@ extern "C" {
...
@@ -342,50 +342,50 @@ extern "C" {
*
*
* @param handle Management handle.
* @param handle Management handle.
* @return Latest internal source code line of latest error
* @return Latest internal source code line of latest error
* @deprecated
* @deprecated
*/
*/
int
ndb_mgm_get_latest_error_line
(
const
NdbMgmHandle
handle
);
int
ndb_mgm_get_latest_error_line
(
const
NdbMgmHandle
handle
);
#endif
#endif
/** @} *********************************************************************/
/** @} *********************************************************************/
/**
/**
* @name Functions: Create/Destroy Management Server Handles
* @name Functions: Create/Destroy Management Server Handles
* @{
* @{
*/
*/
/**
/**
* Create a handle to a management server
* Create a handle to a management server
*
*
* @return A management handle<br>
* @return A management handle<br>
* or NULL if no management handle could be created.
* or NULL if no management handle could be created.
*/
*/
NdbMgmHandle
ndb_mgm_create_handle
();
NdbMgmHandle
ndb_mgm_create_handle
();
/**
/**
* Destroy a management server handle
* Destroy a management server handle
*
*
* @param handle Management handle
* @param handle Management handle
*/
*/
void
ndb_mgm_destroy_handle
(
NdbMgmHandle
*
handle
);
void
ndb_mgm_destroy_handle
(
NdbMgmHandle
*
handle
);
/** @} *********************************************************************/
/** @} *********************************************************************/
/**
/**
* @name Functions: Connect/Disconnect Management Server
* @name Functions: Connect/Disconnect Management Server
* @{
* @{
*/
*/
/**
/**
* Set connect string to management server
* Set connect string to management server
*
*
* @param handle Management handle
* @param handle Management handle
* @param connect_string Connect string to the management server,
* @param connect_string Connect string to the management server,
*
*
* @return -1 on error.
* @return -1 on error.
*/
*/
int
ndb_mgm_set_connectstring
(
NdbMgmHandle
handle
,
int
ndb_mgm_set_connectstring
(
NdbMgmHandle
handle
,
const
char
*
connect_string
);
const
char
*
connect_string
);
/**
/**
* Get connectstring used for connection
* Get connectstring used for connection
*
*
* @note returns what the connectstring defaults to if the above call has
* @note returns what the connectstring defaults to if the above call has
...
@@ -405,7 +405,7 @@ extern "C" {
...
@@ -405,7 +405,7 @@ extern "C" {
*/
*/
int
ndb_mgm_connect
(
NdbMgmHandle
handle
,
int
no_retries
,
int
ndb_mgm_connect
(
NdbMgmHandle
handle
,
int
no_retries
,
int
retry_delay_in_seconds
,
int
verbose
);
int
retry_delay_in_seconds
,
int
verbose
);
/**
/**
* Disconnect from a management server
* Disconnect from a management server
*
*
...
@@ -413,8 +413,8 @@ extern "C" {
...
@@ -413,8 +413,8 @@ extern "C" {
* @return -1 on error.
* @return -1 on error.
*/
*/
int
ndb_mgm_disconnect
(
NdbMgmHandle
handle
);
int
ndb_mgm_disconnect
(
NdbMgmHandle
handle
);
/**
/**
* Get nodeid used in the connection
* Get nodeid used in the connection
*
*
* @param handle Management handle
* @param handle Management handle
...
@@ -423,7 +423,7 @@ extern "C" {
...
@@ -423,7 +423,7 @@ extern "C" {
*/
*/
int
ndb_mgm_get_configuration_nodeid
(
NdbMgmHandle
handle
);
int
ndb_mgm_get_configuration_nodeid
(
NdbMgmHandle
handle
);
/**
/**
* Get port used in the connection
* Get port used in the connection
*
*
* @param handle Management handle
* @param handle Management handle
...
@@ -432,7 +432,7 @@ extern "C" {
...
@@ -432,7 +432,7 @@ extern "C" {
*/
*/
int
ndb_mgm_get_connected_port
(
NdbMgmHandle
handle
);
int
ndb_mgm_get_connected_port
(
NdbMgmHandle
handle
);
/**
/**
* Get host used in the connection
* Get host used in the connection
*
*
* @param handle Management handle
* @param handle Management handle
...
@@ -442,7 +442,7 @@ extern "C" {
...
@@ -442,7 +442,7 @@ extern "C" {
const
char
*
ndb_mgm_get_connected_host
(
NdbMgmHandle
handle
);
const
char
*
ndb_mgm_get_connected_host
(
NdbMgmHandle
handle
);
/** @} *********************************************************************/
/** @} *********************************************************************/
/**
/**
* @name Functions: Convert between different data formats
* @name Functions: Convert between different data formats
* @{
* @{
*/
*/
...
@@ -494,7 +494,7 @@ extern "C" {
...
@@ -494,7 +494,7 @@ extern "C" {
#endif
#endif
/** @} *********************************************************************/
/** @} *********************************************************************/
/**
/**
* @name Functions: State of cluster
* @name Functions: State of cluster
* @{
* @{
*/
*/
...
@@ -511,8 +511,8 @@ extern "C" {
...
@@ -511,8 +511,8 @@ extern "C" {
struct
ndb_mgm_cluster_state
*
ndb_mgm_get_status
(
NdbMgmHandle
handle
);
struct
ndb_mgm_cluster_state
*
ndb_mgm_get_status
(
NdbMgmHandle
handle
);
/** @} *********************************************************************/
/** @} *********************************************************************/
/**
/**
* @name Functions: Start/stop nodes
* @name Functions: Start/stop nodes
* @{
* @{
*/
*/
...
@@ -522,16 +522,16 @@ extern "C" {
...
@@ -522,16 +522,16 @@ extern "C" {
* @param handle Management handle.
* @param handle Management handle.
* @param no_of_nodes no of database nodes<br>
* @param no_of_nodes no of database nodes<br>
* 0 - means all database nodes in cluster<br>
* 0 - means all database nodes in cluster<br>
* n - Means stop n node(s) specified in the
* n - Means stop n node(s) specified in the
* array node_list
* array node_list
* @param node_list List of node ids of database nodes to be stopped
* @param node_list List of node ids of database nodes to be stopped
*
*
* @return No of nodes stopped (or -1 on error)
* @return No of nodes stopped (or -1 on error)
*
*
* @note The function is equivalent
* @note The function is equivalent
* to ndb_mgm_stop2(handle, no_of_nodes, node_list, 0)
* to ndb_mgm_stop2(handle, no_of_nodes, node_list, 0)
*/
*/
int
ndb_mgm_stop
(
NdbMgmHandle
handle
,
int
no_of_nodes
,
int
ndb_mgm_stop
(
NdbMgmHandle
handle
,
int
no_of_nodes
,
const
int
*
node_list
);
const
int
*
node_list
);
/**
/**
...
@@ -540,10 +540,10 @@ extern "C" {
...
@@ -540,10 +540,10 @@ extern "C" {
* @param handle Management handle.
* @param handle Management handle.
* @param no_of_nodes No of database nodes<br>
* @param no_of_nodes No of database nodes<br>
* 0 - means all database nodes in cluster<br>
* 0 - means all database nodes in cluster<br>
* n - Means stop n node(s) specified in
* n - Means stop n node(s) specified in
* the array node_list
* the array node_list
* @param node_list List of node ids of database nodes to be stopped
* @param node_list List of node ids of database nodes to be stopped
* @param abort Don't perform gracefull stop,
* @param abort Don't perform gracefull stop,
* but rather stop immediatly
* but rather stop immediatly
*
*
* @return No of nodes stopped (or -1 on error).
* @return No of nodes stopped (or -1 on error).
...
@@ -557,16 +557,16 @@ extern "C" {
...
@@ -557,16 +557,16 @@ extern "C" {
* @param handle Management handle.
* @param handle Management handle.
* @param no_of_nodes No of database nodes<br>
* @param no_of_nodes No of database nodes<br>
* 0 - means all database nodes in cluster<br>
* 0 - means all database nodes in cluster<br>
* n - Means stop n node(s) specified in the
* n - Means stop n node(s) specified in the
* array node_list
* array node_list
* @param node_list List of node ids of database nodes to be stopped
* @param node_list List of node ids of database nodes to be stopped
*
*
* @return No of nodes stopped (or -1 on error).
* @return No of nodes stopped (or -1 on error).
*
*
* @note The function is equivalent to
* @note The function is equivalent to
* ndb_mgm_restart2(handle, no_of_nodes, node_list, 0, 0, 0);
* ndb_mgm_restart2(handle, no_of_nodes, node_list, 0, 0, 0);
*/
*/
int
ndb_mgm_restart
(
NdbMgmHandle
handle
,
int
no_of_nodes
,
int
ndb_mgm_restart
(
NdbMgmHandle
handle
,
int
no_of_nodes
,
const
int
*
node_list
);
const
int
*
node_list
);
/**
/**
...
@@ -575,13 +575,13 @@ extern "C" {
...
@@ -575,13 +575,13 @@ extern "C" {
* @param handle Management handle.
* @param handle Management handle.
* @param no_of_nodes No of database nodes<br>
* @param no_of_nodes No of database nodes<br>
* 0 - means all database nodes in cluster<br>
* 0 - means all database nodes in cluster<br>
* n - Means stop n node(s) specified in the
* n - Means stop n node(s) specified in the
* array node_list
* array node_list
* @param node_list List of node ids of database nodes to be stopped
* @param node_list List of node ids of database nodes to be stopped
* @param initial Remove filesystem from node(s) restarting
* @param initial Remove filesystem from node(s) restarting
* @param nostart Don't actually start node(s) but leave them
* @param nostart Don't actually start node(s) but leave them
* waiting for start command
* waiting for start command
* @param abort Don't perform gracefull restart,
* @param abort Don't perform gracefull restart,
* but rather restart immediatly
* but rather restart immediatly
*
*
* @return No of nodes stopped (or -1 on error).
* @return No of nodes stopped (or -1 on error).
...
@@ -589,23 +589,23 @@ extern "C" {
...
@@ -589,23 +589,23 @@ extern "C" {
int
ndb_mgm_restart2
(
NdbMgmHandle
handle
,
int
no_of_nodes
,
int
ndb_mgm_restart2
(
NdbMgmHandle
handle
,
int
no_of_nodes
,
const
int
*
node_list
,
int
initial
,
const
int
*
node_list
,
int
initial
,
int
nostart
,
int
abort
);
int
nostart
,
int
abort
);
/**
/**
* Start database nodes
* Start database nodes
*
*
* @param handle Management handle.
* @param handle Management handle.
* @param no_of_nodes No of database nodes<br>
* @param no_of_nodes No of database nodes<br>
* 0 - means all database nodes in cluster<br>
* 0 - means all database nodes in cluster<br>
* n - Means start n node(s) specified in
* n - Means start n node(s) specified in
* the array node_list
* the array node_list
* @param node_list List of node ids of database nodes to be started
* @param node_list List of node ids of database nodes to be started
*
*
* @return No of nodes started (or -1 on error).
* @return No of nodes started (or -1 on error).
*
*
* @note The nodes to start must have been started with nostart(-n)
* @note The nodes to start must have been started with nostart(-n)
* argument.
* argument.
* This means that the database node binary is started and
* This means that the database node binary is started and
* waiting for a START management command which will
* waiting for a START management command which will
* actually start the database node functionality
* actually start the database node functionality
*/
*/
int
ndb_mgm_start
(
NdbMgmHandle
handle
,
int
ndb_mgm_start
(
NdbMgmHandle
handle
,
...
@@ -613,7 +613,7 @@ extern "C" {
...
@@ -613,7 +613,7 @@ extern "C" {
const
int
*
node_list
);
const
int
*
node_list
);
/** @} *********************************************************************/
/** @} *********************************************************************/
/**
/**
* @name Functions: Logging and Statistics
* @name Functions: Logging and Statistics
* @{
* @{
*/
*/
...
@@ -633,17 +633,17 @@ extern "C" {
...
@@ -633,17 +633,17 @@ extern "C" {
/**
/**
* Get log filter
* Get log filter
*
*
* @param handle NDB management handle
* @param handle NDB management handle
*
*
* @return A vector of seven elements,
* @return A vector of seven elements,
* where each element contains
* where each element contains
* 1 if a severity is enabled and 0 if not.
* 1 if a severity is enabled and 0 if not.
* A severity is stored at position
* A severity is stored at position
* ndb_mgm_clusterlog_level,
* ndb_mgm_clusterlog_level,
* for example the "error" level is stored in position
* for example the "error" level is stored in position
* [NDB_MGM_CLUSTERLOG_ERROR-1].
* [NDB_MGM_CLUSTERLOG_ERROR-1].
* The first element in the vector signals
* The first element in the vector signals
* whether the clusterlog
* whether the clusterlog
* is disabled or enabled.
* is disabled or enabled.
*/
*/
...
@@ -693,7 +693,7 @@ extern "C" {
...
@@ -693,7 +693,7 @@ extern "C" {
#endif
#endif
/** @} *********************************************************************/
/** @} *********************************************************************/
/**
/**
* @name Functions: Backup
* @name Functions: Backup
* @{
* @{
*/
*/
...
@@ -722,13 +722,13 @@ extern "C" {
...
@@ -722,13 +722,13 @@ extern "C" {
/** @} *********************************************************************/
/** @} *********************************************************************/
/**
/**
* @name Functions: Single User Mode
* @name Functions: Single User Mode
* @{
* @{
*/
*/
/**
/**
* Enter Single user mode
* Enter Single user mode
*
*
* @param handle NDB management handle.
* @param handle NDB management handle.
* @param nodeId Node Id of the single user node
* @param nodeId Node Id of the single user node
...
@@ -737,9 +737,9 @@ extern "C" {
...
@@ -737,9 +737,9 @@ extern "C" {
*/
*/
int
ndb_mgm_enter_single_user
(
NdbMgmHandle
handle
,
unsigned
int
nodeId
,
int
ndb_mgm_enter_single_user
(
NdbMgmHandle
handle
,
unsigned
int
nodeId
,
struct
ndb_mgm_reply
*
reply
);
struct
ndb_mgm_reply
*
reply
);
/**
/**
* Exit Single user mode
* Exit Single user mode
*
*
* @param handle NDB management handle.
* @param handle NDB management handle.
* @param nodeId Node Id of the single user node
* @param nodeId Node Id of the single user node
...
@@ -747,9 +747,9 @@ extern "C" {
...
@@ -747,9 +747,9 @@ extern "C" {
*
*
* @return -1 on error.
* @return -1 on error.
*/
*/
int
ndb_mgm_exit_single_user
(
NdbMgmHandle
handle
,
int
ndb_mgm_exit_single_user
(
NdbMgmHandle
handle
,
struct
ndb_mgm_reply
*
reply
);
struct
ndb_mgm_reply
*
reply
);
/**
/**
* Listen event
* Listen event
*
*
...
@@ -759,7 +759,7 @@ extern "C" {
...
@@ -759,7 +759,7 @@ extern "C" {
* @return fd which events will be pushed to
* @return fd which events will be pushed to
*/
*/
int
ndb_mgm_listen_event
(
NdbMgmHandle
handle
,
int
filter
[]);
int
ndb_mgm_listen_event
(
NdbMgmHandle
handle
,
int
filter
[]);
/**
/**
* Get configuration
* Get configuration
* @param handle NDB management handle.
* @param handle NDB management handle.
...
@@ -785,14 +785,14 @@ extern "C" {
...
@@ -785,14 +785,14 @@ extern "C" {
ndb_mgm_configuration_iterator
*
ndb_mgm_create_configuration_iterator
ndb_mgm_configuration_iterator
*
ndb_mgm_create_configuration_iterator
(
struct
ndb_mgm_configuration
*
,
unsigned
type_of_section
);
(
struct
ndb_mgm_configuration
*
,
unsigned
type_of_section
);
void
ndb_mgm_destroy_iterator
(
ndb_mgm_configuration_iterator
*
);
void
ndb_mgm_destroy_iterator
(
ndb_mgm_configuration_iterator
*
);
int
ndb_mgm_first
(
ndb_mgm_configuration_iterator
*
);
int
ndb_mgm_first
(
ndb_mgm_configuration_iterator
*
);
int
ndb_mgm_next
(
ndb_mgm_configuration_iterator
*
);
int
ndb_mgm_next
(
ndb_mgm_configuration_iterator
*
);
int
ndb_mgm_valid
(
const
ndb_mgm_configuration_iterator
*
);
int
ndb_mgm_valid
(
const
ndb_mgm_configuration_iterator
*
);
int
ndb_mgm_find
(
ndb_mgm_configuration_iterator
*
,
int
ndb_mgm_find
(
ndb_mgm_configuration_iterator
*
,
int
param
,
unsigned
value
);
int
param
,
unsigned
value
);
int
ndb_mgm_get_int_parameter
(
const
ndb_mgm_configuration_iterator
*
,
int
ndb_mgm_get_int_parameter
(
const
ndb_mgm_configuration_iterator
*
,
int
param
,
unsigned
*
value
);
int
param
,
unsigned
*
value
);
int
ndb_mgm_get_int64_parameter
(
const
ndb_mgm_configuration_iterator
*
,
int
ndb_mgm_get_int64_parameter
(
const
ndb_mgm_configuration_iterator
*
,
int
param
,
Uint64
*
value
);
int
param
,
Uint64
*
value
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment