21 #include "mgmapi_config_parameters.h"
22 #include "ndb_logevent.h"
23 #include "mgmapi_error.h"
25 #define MGM_LOGLEVELS CFG_MAX_LOGLEVEL - CFG_MIN_LOGLEVEL + 1
26 #define NDB_MGM_MAX_LOGLEVEL 15
151 #include <ndb_types.h>
152 #include "ndb_logevent.h"
153 #include "mgmapi_config_parameters.h"
168 NDB_MGM_NODE_TYPE_UNKNOWN = -1
170 #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
174 #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
178 #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
181 #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
182 ,NDB_MGM_NODE_TYPE_MIN = 0
183 ,NDB_MGM_NODE_TYPE_MAX = 3
211 #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
260 #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
261 sizeof(
"000.000.000.000")+1
278 #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
294 #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
366 #ifndef DOXYGEN_SHOULD_SKIP_DEPRECATED
453 const char *connect_string);
467 int ndb_mgm_set_configuration_nodeid(NdbMgmHandle handle,
int nodeid);
533 int retry_delay_in_seconds,
int verbose);
603 int *major,
int *minor,
int* build,
606 #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
747 const int * node_list);
764 const int * node_list,
int abort);
785 const int * node_list,
int abort,
int *disconnect);
808 const int * node_list,
int abort,
int force,
827 const int * node_list);
847 const int * node_list,
int initial,
848 int nostart,
int abort);
872 const int * node_list,
int initial,
873 int nostart,
int abort,
int *disconnect);
899 const int * node_list,
int initial,
900 int nostart,
int abort,
int force,
int *disconnect);
922 const int * node_list);
965 unsigned int severity_size);
967 #ifndef DOXYGEN_SHOULD_SKIP_DEPRECATED
1017 unsigned int loglevel_size);
1019 #ifndef DOXYGEN_SHOULD_SKIP_DEPRECATED
1054 #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
1087 const int filter[]);
1088 void ndb_mgm_destroy_logevent_handle(NdbLogEventHandle*);
1117 unsigned timeout_in_milliseconds);
1154 unsigned int* backup_id,
1172 unsigned int* backup_id,
1174 unsigned int input_backupId);
1192 unsigned int* backup_id,
1194 unsigned int input_backupId,
1195 unsigned int backuppoint);
1237 #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
1258 int ndb_mgm_alloc_nodeid(NdbMgmHandle handle,
1259 unsigned version,
int nodetype,
int log_event);
1314 int param,
unsigned value);
1317 int param,
unsigned * value);
1319 int param, Uint64 * value);
1321 int param,
const char ** value);
1322 int ndb_mgm_purge_stale_sessions(NdbMgmHandle handle,
char **);
1323 int ndb_mgm_check_connection(NdbMgmHandle handle);
1325 int ndb_mgm_report_event(NdbMgmHandle handle, Uint32 *data, Uint32 length);
1330 const char * m_name;
1336 int ndb_mgm_create_nodegroup(NdbMgmHandle handle,
1341 int ndb_mgm_drop_nodegroup(NdbMgmHandle handle,
1345 #ifndef DOXYGEN_SHOULD_SKIP_DEPRECATED
1346 enum ndb_mgm_clusterlog_level {
1347 NDB_MGM_ILLEGAL_CLUSTERLOG_LEVEL = -1,
1348 NDB_MGM_CLUSTERLOG_ON = 0,
1349 NDB_MGM_CLUSTERLOG_DEBUG = 1,
1350 NDB_MGM_CLUSTERLOG_INFO = 2,
1351 NDB_MGM_CLUSTERLOG_WARNING = 3,
1352 NDB_MGM_CLUSTERLOG_ERROR = 4,
1353 NDB_MGM_CLUSTERLOG_CRITICAL = 5,
1354 NDB_MGM_CLUSTERLOG_ALERT = 6,
1355 NDB_MGM_CLUSTERLOG_ALL = 7
1358 int ndb_mgm_filter_clusterlog(NdbMgmHandle h,
1359 enum ndb_mgm_clusterlog_level s,
1364 const unsigned int * ndb_mgm_get_logfilter(NdbMgmHandle h)
1368 int ndb_mgm_set_loglevel_clusterlog(NdbMgmHandle h,
int n,
1374 const unsigned int * ndb_mgm_get_loglevel_clusterlog(NdbMgmHandle h)
1390 #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
1416 int no_of_nodes,
const int * node_list);