2005-04-09 14:28:39 +04:00
|
|
|
#ifndef INCLUDES_MYSQL_INSTANCE_MANAGER_PARSE_OUTPUT_H
|
|
|
|
#define INCLUDES_MYSQL_INSTANCE_MANAGER_PARSE_OUTPUT_H
|
2005-01-25 13:54:56 +03:00
|
|
|
/* 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
|
2006-12-23 20:17:15 +01:00
|
|
|
the Free Software Foundation; version 2 of the License.
|
2005-01-25 13:54:56 +03:00
|
|
|
|
|
|
|
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 */
|
|
|
|
|
2006-05-18 18:57:50 +04:00
|
|
|
#include <my_global.h>
|
|
|
|
|
2007-07-23 15:05:50 +02:00
|
|
|
enum enum_option_type
|
|
|
|
{
|
|
|
|
GET_VALUE = 1,
|
|
|
|
GET_LINE
|
|
|
|
};
|
2005-06-07 15:47:02 +04:00
|
|
|
|
2007-07-23 15:05:50 +02:00
|
|
|
bool parse_output_and_get_value(const char *command,
|
|
|
|
const char *option_name_str,
|
|
|
|
uint option_name_length,
|
|
|
|
char *option_value_buf,
|
|
|
|
size_t option_value_buf_size,
|
|
|
|
enum_option_type option_type);
|
2005-01-25 13:54:56 +03:00
|
|
|
|
2005-04-09 14:28:39 +04:00
|
|
|
#endif /* INCLUDES_MYSQL_INSTANCE_MANAGER_PARSE_OUTPUT_H */
|