mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / storage / ndb / include / portlib / NdbConfig.h
blobbac014a46129b49135f6f55685c6692fc0689c24
1 /* Copyright (c) 2003-2005 MySQL AB
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; version 2 of the License.
7 This program is distributed in the hope that it will be useful,
8 but WITHOUT ANY WARRANTY; without even the implied warranty of
9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 GNU General Public License for more details.
12 You should have received a copy of the GNU General Public License
13 along with this program; if not, write to the Free Software
14 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */
16 #ifndef NDB_CONFIG_H
17 #define NDB_CONFIG_H
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
23 const char* NdbConfig_get_path(int *len);
24 void NdbConfig_SetPath(const char *path);
25 char* NdbConfig_NdbCfgName(int with_ndb_home);
26 char* NdbConfig_ErrorFileName(int node_id);
27 char* NdbConfig_ClusterLogFileName(int node_id);
28 char* NdbConfig_SignalLogFileName(int node_id);
29 char* NdbConfig_TraceFileName(int node_id, int file_no);
30 char* NdbConfig_NextTraceFileName(int node_id);
31 char* NdbConfig_PidFileName(int node_id);
32 char* NdbConfig_StdoutFileName(int node_id);
34 #ifdef __cplusplus
36 #endif
38 #endif