Blame libnm/nm-device-infiniband.h

Packit Service 87a54e
/* SPDX-License-Identifier: LGPL-2.1-or-later */
Packit 5756e2
/*
Packit 5756e2
 * Copyright (C) 2011 - 2012 Red Hat, Inc.
Packit 5756e2
 */
Packit 5756e2
Packit 5756e2
#ifndef __NM_DEVICE_INFINIBAND_H__
Packit 5756e2
#define __NM_DEVICE_INFINIBAND_H__
Packit 5756e2
Packit Service a1bd4f
#if !defined(__NETWORKMANAGER_H_INSIDE__) && !defined(NETWORKMANAGER_COMPILATION)
Packit Service a1bd4f
    #error "Only <NetworkManager.h> can be included directly."
Packit 5756e2
#endif
Packit 5756e2
Packit 5756e2
#include "nm-device.h"
Packit 5756e2
Packit 5756e2
G_BEGIN_DECLS
Packit 5756e2
Packit Service a1bd4f
#define NM_TYPE_DEVICE_INFINIBAND (nm_device_infiniband_get_type())
Packit Service a1bd4f
#define NM_DEVICE_INFINIBAND(obj) \
Packit Service a1bd4f
    (G_TYPE_CHECK_INSTANCE_CAST((obj), NM_TYPE_DEVICE_INFINIBAND, NMDeviceInfiniband))
Packit Service a1bd4f
#define NM_DEVICE_INFINIBAND_CLASS(klass) \
Packit Service a1bd4f
    (G_TYPE_CHECK_CLASS_CAST((klass), NM_TYPE_DEVICE_INFINIBAND, NMDeviceInfinibandClass))
Packit Service a1bd4f
#define NM_IS_DEVICE_INFINIBAND(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), NM_TYPE_DEVICE_INFINIBAND))
Packit Service a1bd4f
#define NM_IS_DEVICE_INFINIBAND_CLASS(klass) \
Packit Service a1bd4f
    (G_TYPE_CHECK_CLASS_TYPE((klass), NM_TYPE_DEVICE_INFINIBAND))
Packit Service a1bd4f
#define NM_DEVICE_INFINIBAND_GET_CLASS(obj) \
Packit Service a1bd4f
    (G_TYPE_INSTANCE_GET_CLASS((obj), NM_TYPE_DEVICE_INFINIBAND, NMDeviceInfinibandClass))
Packit 5756e2
Packit Service a1bd4f
#define NM_DEVICE_INFINIBAND_HW_ADDRESS "hw-address"
Packit Service a1bd4f
#define NM_DEVICE_INFINIBAND_CARRIER    "carrier"
Packit 5756e2
Packit 5756e2
/**
Packit 5756e2
 * NMDeviceInfiniband:
Packit 5756e2
 */
Packit 5756e2
typedef struct _NMDeviceInfinibandClass NMDeviceInfinibandClass;
Packit 5756e2
Packit Service a1bd4f
GType nm_device_infiniband_get_type(void);
Packit 5756e2
Packit Service a1bd4f
NM_DEPRECATED_IN_1_24_FOR(nm_device_get_hw_address)
Packit Service a1bd4f
const char *nm_device_infiniband_get_hw_address(NMDeviceInfiniband *device);
Packit 5756e2
Packit Service a1bd4f
gboolean nm_device_infiniband_get_carrier(NMDeviceInfiniband *device);
Packit 5756e2
Packit 5756e2
G_END_DECLS
Packit 5756e2
Packit 5756e2
#endif /* __NM_DEVICE_INFINIBAND_H__ */