Files
s390-tools/zdump/zgetdump.h
Alexander Egorenkov df338a3bac zdump/opts: Make parsing of command line arguments testable
Make the C module responsible for the parsing of command-line arguments
independent of other global variables. This improves its testability.

Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
2021-11-10 15:12:10 +01:00

28 lines
530 B
C

/*
* zgetdump - Tool for copying and converting System z dumps
*
* Main include file - Should be included by all source files
*
* Copyright IBM Corp. 2001, 2018
*
* 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 ZGETDUMP_H
#define ZGETDUMP_H
#include "opts.h"
/*
* zgetdump globals
*/
extern struct zgetdump_globals {
struct zg_fh *fh;
struct options opts;
} g;
int stdout_write_dump(void);
#endif /* ZGETDUMP_H */