MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mgmapi_internal.h
1 /*
2  Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
3 
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation; version 2 of the License.
7 
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  GNU General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License
14  along with this program; if not, write to the Free Software
15  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
16 */
17 
18 #ifndef MGMAPI_INTERNAL_H
19 #define MGMAPI_INTERNAL_H
20 
21 #include <portlib/NdbTCP.h>
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
37  int ndb_mgm_set_connection_int_parameter(NdbMgmHandle handle,
38  int node1,
39  int node2,
40  int param,
41  int value,
42  struct ndb_mgm_reply* reply);
43 
56  int ndb_mgm_get_connection_int_parameter(NdbMgmHandle handle,
57  int node1,
58  int node2,
59  int param,
60  int *value,
61  struct ndb_mgm_reply* reply);
62 
71  NDB_SOCKET_TYPE ndb_mgm_convert_to_transporter(NdbMgmHandle *handle);
72 
73  int ndb_mgm_disconnect_quiet(NdbMgmHandle handle);
74 
81  int ndb_mgm_set_configuration(NdbMgmHandle handle,
83 
84 
85  NDB_SOCKET_TYPE _ndb_mgm_get_socket(NdbMgmHandle handle);
86 
94  struct ndb_mgm_configuration *
95  ndb_mgm_get_configuration2(NdbMgmHandle handle,
96  unsigned version,
97  enum ndb_mgm_node_type nodetype,
98  int from_node = 0);
99 
100 
101 #ifdef __cplusplus
102 }
103 #endif
104 
105 
106 #endif