Files
s390-tools/zdump/zfuse.h
Alexander Egorenkov afb14cba7a zdump/zfuse: Extract zfuse.h header from zgetdump.h
Create a separate C header for FUSE to separate independent things and
make it more readable.

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

26 lines
513 B
C

/*
* 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 ZFUSE_H
#define ZFUSE_H
#if HAVE_FUSE == 0
static inline int zfuse_mount_dump(void)
{
ERR_EXIT("Program compiled without fuse support");
}
static inline void zfuse_umount(void)
{
ERR_EXIT("Program compiled without fuse support");
}
#else
int zfuse_mount_dump(void);
void zfuse_umount(void);
#endif
#endif /* ZFUSE_H */