libvirt/src/util/virfcp.h
Bjoern Walk c47a3b130d util: helper functions for fibre channel devices
We will need some convenient helper functions for managing sysfs-entries
for fibre channel-backed devices. Let's implement them and make them
available in the private API.

Signed-off-by: Bjoern Walk <bwalk@linux.vnet.ibm.com>
2017-05-26 10:44:05 -04:00

35 lines
1.0 KiB
C

/*
* virfcp.h: Utility functions for the Fibre Channel Protocol
*
* Copyright (C) 2017 IBM Corporation
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see
* <http://www.gnu.org/licenses/>.
*
* Author: Bjoern Walk <bwalk@linux.vnet.ibm.com>
*/
#ifndef __VIR_FCP_H__
# define __VIR_FCP_H__
bool
virFCIsCapableRport(const char *rport);
int
virFCReadRportValue(const char *rport,
const char *entry,
char **result);
#endif