ppc64-diag
|
Header for ppc64-diag config file. More...
Go to the source code of this file.
Data Structures | |
struct | ppc64_diag_config |
structure to store ppc64-diag configuration variables More... | |
Macros | |
#define | RE_CFG_RECEIVED_SIGHUP 0x00000001 |
#define | RE_CFG_RECFG_SAFE 0x00000002 |
Functions | |
int | diag_cfg (int, void(*log_msg)(char *,...)) |
read config components from ppc64-diag config file More... | |
Variables | |
char * | config_file |
default ppc64-diag configuration file More... | |
struct ppc64_diag_config | d_cfg |
ppc64-diag configuration structure More... | |
Copyright (C) 2004 IBM Corporation.
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#define RE_CFG_RECEIVED_SIGHUP 0x00000001 |
Referenced by read_rtas_events(), and sighup_handler().
#define RE_CFG_RECFG_SAFE 0x00000002 |
Referenced by read_rtas_events(), and sighup_handler().
int diag_cfg | ( | int | update_sysconfig, |
void(*)(char *,...) | log_msg | ||
) |
diag_cfg The config file is in the format of variable=data. Comments in the file are lines beginning with '#' or everything after a '#' character in a line.
update_sysconfig | if 0, NVRAM will not be updated |
References config_file, d_cfg, init_d_cfg(), ppc64_diag_config::log_msg, log_msg(), and parse_config_entries().
Referenced by main(), read_rtas_events(), and sighup_handler().
char* config_file |
Referenced by config_restart_policy(), diag_cfg(), main(), and print_usage().