ppc64-diag
config.h
Go to the documentation of this file.
1 
22 #ifndef _CONFIG_H
23 #define _CONFIG_H
24 
25 extern char *config_file;
26 
32  unsigned int flags;
35  char scanlog_dump_path[1024];
36  char platform_dump_path[1024];
38  void (*log_msg)(char *, ...);
39 };
40 
41 #define RE_CFG_RECEIVED_SIGHUP 0x00000001
42 #define RE_CFG_RECFG_SAFE 0x00000002
43 
44 extern struct ppc64_diag_config d_cfg;
45 
46 /* config.c */
47 int diag_cfg(int, void (*log_msg)(char *, ...));
48 
49 #endif /* _CONFIG_H */
int restart_policy
Definition: config.h:37
void(* log_msg)(char *,...)
Definition: config.h:38
int diag_cfg(int, void(*log_msg)(char *,...))
read config components from ppc64-diag config file
Definition: config.c:646
struct ppc64_diag_config d_cfg
ppc64-diag configuration structure
Definition: config.c:49
int min_entitled_capacity
Definition: config.h:34
structure to store ppc64-diag configuration variables
Definition: config.h:31
char * config_file
default ppc64-diag configuration file
Definition: config.c:43
char scanlog_dump_path[1024]
Definition: config.h:35
int min_processors
Definition: config.h:33
unsigned int flags
Definition: config.h:32
char platform_dump_path[1024]
Definition: config.h:36