#pragma implementation #include "mysqlconf.h" #include "mysqlconf.m" #include MODULE_DEFINE_VERSION(mysqlconf); static const char *keymenu=NULL; ("mysqlconf",PACKAGE_REV); tb.add (new SSTRING(MSG_U(T_USAGE ,"linuxconf --modulemain mysqlconf usage\n" "\n" " mysqlconf --option ...\n"))); if (context == MENU_NETWORK_SERVER) { keymenu = MSG_U(M_mysql,"MySQL Configuration"); dia.new_menuitem ("mysqlconf","",keymenu); } if (context == MENU_NETWORK_SERVER){ if (key == keymenu) { mysqlconf_conf(); // ### Place the call to the main menu of this module here } } return 0; int ret = LNCF_NOT_APPLICABLE; #if 0 // ### Check the variable key to provide your own html hook ret = 0; #endif return ret; int ret = -1; if (argc == 1) { mysqlconf_conf(); // ### Place here a call to the main menu } else { printusage(); } return ret;