• unknown's avatar
    WL#2246 "IM: Add ability to change instance options, add server logs handling" ported to the · 76164b89
    unknown authored
    current version of the IM
    
    
    server-tools/instance-manager/commands.cc:
      Log and set options commands added
    server-tools/instance-manager/commands.h:
      Log and set options commands added
    server-tools/instance-manager/factory.cc:
      Log and set options factory entries added
    server-tools/instance-manager/factory.h:
      prototypes added
    server-tools/instance-manager/instance_options.cc:
      fill_log_options() added
    server-tools/instance-manager/instance_options.h:
      log processing options and funcctions added
    server-tools/instance-manager/messages.cc:
      new error messages added (log and option processing-related)
    server-tools/instance-manager/mysql_connection.cc:
      minor fixes
    server-tools/instance-manager/mysql_manager_error.h:
      new error codes added
    server-tools/instance-manager/parse.cc:
      parser fixed to recognize new commands. function to parse command-line options added
    server-tools/instance-manager/parse.h:
      header fixed in line with .cc changes
    server-tools/instance-manager/parse_output.cc:
      cleanup
    server-tools/instance-manager/parse_output.h:
      header guards added
    server-tools/instance-manager/protocol.cc:
      Protocol support extended to provide messages in ok packet
    server-tools/instance-manager/protocol.h:
      protocol support extended: ok packet could contain messages
    76164b89
parse_output.h 1.03 KB
#ifndef INCLUDES_MYSQL_INSTANCE_MANAGER_PARSE_OUTPUT_H
#define INCLUDES_MYSQL_INSTANCE_MANAGER_PARSE_OUTPUT_H
/* Copyright (C) 2004 MySQL AB

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */

int parse_output_and_get_value(const char *command, const char *word,
                               char *result, size_t result_len);

#endif /* INCLUDES_MYSQL_INSTANCE_MANAGER_PARSE_OUTPUT_H */