19 #include <ndb_global.h>
20 #include <ndb_version.h>
21 #include <mgmapi_configuration.hpp>
24 #include <Properties.hpp>
26 #include "InitConfigFileParser.hpp"
29 void usage(
const char * prg){
30 ndbout <<
"Usage " << prg <<
": <Init config> <Binary file>" << endl;
35 "mkconfig",
"mkconfig",
36 "Make a binary configuration from a config file", 16384){
50 Uint32 sz = cp->getPackedSize();
55 FILE * f = fopen(argv[2],
"w");
56 if(fwrite(buf.get_data(), 1, buf.length(), f) != sz){