mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zkey: Move utility functions into separate source file
As preparation for future changes, move a sysfs specific functions into a separate source file (utils.c). Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Reviewed-by: Harald Freudenberger <freude@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
95c7258ea7
commit
696e8458f0
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* zkey - Generate, re-encipher, and validate secure keys
|
||||
*
|
||||
* This header file defines the interface to the CCA host library.
|
||||
*
|
||||
* Copyright IBM Corp. 2019
|
||||
*
|
||||
* 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 UTILS_H
|
||||
#define UTILS_H
|
||||
|
||||
#include "lib/zt_common.h"
|
||||
|
||||
int sysfs_is_card_online(int card);
|
||||
|
||||
int sysfs_is_apqn_online(int card, int domain);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user