Files
s390-tools/zdump/dt.h
Mikhail Zaslonko 26d636f234 zgetdump: Update zgetdump to process the new dump tool
Update 'zgetdump -d' to process the new DASD dump tool installed (single
volume or multi-volume).

Signed-off-by: Mikhail Zaslonko <zaslonko@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
2018-05-07 13:42:03 +02:00

36 lines
794 B
C

/*
* zgetdump - Tool for copying and converting System z dumps
*
* Dump tool info generic functions
*
* Copyright IBM Corp. 2001, 2017
*
* s390-tools is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#ifndef DT_H
#define DT_H
#include "dfi.h"
#include <stdbool.h>
#define DUMP_EXTENDED true
#define DUMP_NON_EXTENDED false
struct dt {
const char *desc;
int (*init)(void);
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);
#endif