mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zdump/dt: Move declaration of DT structs to dt.h
Move DT structs to the header where they belong to. Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
696a007b62
commit
1e450e6f7b
@@ -10,6 +10,8 @@
|
||||
*/
|
||||
|
||||
#include "zgetdump.h"
|
||||
#include "zg.h"
|
||||
#include "dt.h"
|
||||
|
||||
/*
|
||||
* Supported dump tools
|
||||
|
||||
26
zdump/dt.h
26
zdump/dt.h
@@ -12,9 +12,10 @@
|
||||
#ifndef DT_H
|
||||
#define DT_H
|
||||
|
||||
#include "dfi.h"
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "dfi.h"
|
||||
|
||||
#define DUMP_EXTENDED true
|
||||
#define DUMP_NON_EXTENDED false
|
||||
|
||||
@@ -24,12 +25,21 @@ struct dt {
|
||||
void (*info)(void);
|
||||
};
|
||||
|
||||
extern void dt_init(void);
|
||||
extern void dt_info_print(void);
|
||||
extern void dt_arch_set(enum dfi_arch arch);
|
||||
extern void dt_version_set(int version);
|
||||
extern void dt_attr_mem_limit_set(u64 mem_limit);
|
||||
extern void dt_attr_force_set(int value);
|
||||
extern void dt_attr_dasd_type_set(const char *dasd_type);
|
||||
void dt_init(void);
|
||||
void dt_info_print(void);
|
||||
void dt_arch_set(enum dfi_arch arch);
|
||||
void dt_version_set(int version);
|
||||
void dt_attr_mem_limit_set(u64 mem_limit);
|
||||
void dt_attr_force_set(int value);
|
||||
void dt_attr_dasd_type_set(const char *dasd_type);
|
||||
|
||||
/*
|
||||
* Supported s390 dumpers
|
||||
*/
|
||||
extern struct dt dt_s390mv;
|
||||
extern struct dt dt_s390mv_ext;
|
||||
extern struct dt dt_s390sv;
|
||||
extern struct dt dt_s390sv_ext;
|
||||
extern struct dt dt_scsi;
|
||||
|
||||
#endif
|
||||
|
||||
@@ -71,13 +71,4 @@ int zfuse_mount_dump(void);
|
||||
void zfuse_umount(void);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Supported s390 dumpers
|
||||
*/
|
||||
extern struct dt dt_s390mv;
|
||||
extern struct dt dt_s390mv_ext;
|
||||
extern struct dt dt_s390sv;
|
||||
extern struct dt dt_s390sv_ext;
|
||||
extern struct dt dt_scsi;
|
||||
|
||||
#endif /* ZGETDUMP_H */
|
||||
|
||||
Reference in New Issue
Block a user