1/* SPDX-License-Identifier: LGPL-2.1-or-later */
2/*
3 * Copyright (C) 2011 Red Hat, Inc.
4 * Copyright (C) 2009 Novell, Inc.
5 */
6
7#ifndef __NM_WIMAX_NSP_H__
8#define __NM_WIMAX_NSP_H__
9
10#if !defined(__NETWORKMANAGER_H_INSIDE__) && !defined(NETWORKMANAGER_COMPILATION)
11#error "Only <NetworkManager.h> can be included directly."
12#endif
13
14#include "nm-object.h"
15
16G_BEGIN_DECLS
17
18#define NM_TYPE_WIMAX_NSP (nm_wimax_nsp_get_type())
19#define NM_WIMAX_NSP(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), NM_TYPE_WIMAX_NSP, NMWimaxNsp))
20#define NM_WIMAX_NSP_CLASS(klass) \
21 (G_TYPE_CHECK_CLASS_CAST((klass), NM_TYPE_WIMAX_NSP, NMWimaxNspClass))
22#define NM_IS_WIMAX_NSP(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), NM_TYPE_WIMAX_NSP))
23#define NM_IS_WIMAX_NSP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), NM_TYPE_WIMAX_NSP))
24#define NM_WIMAX_NSP_GET_CLASS(obj) \
25 (G_TYPE_INSTANCE_GET_CLASS((obj), NM_TYPE_WIMAX_NSP, NMWimaxNspClass))
26
27#define NM_WIMAX_NSP_NAME "name"
28#define NM_WIMAX_NSP_SIGNAL_QUALITY "signal-quality"
29#define NM_WIMAX_NSP_NETWORK_TYPE "network-type"
30
31/**
32 * NMWimaxNsp:
33 *
34 * Deprecated: 1.22: WiMAX is no longer supported by NetworkManager since 1.2.0.
35 */
36typedef struct _NMWimaxNspClass NMWimaxNspClass;
37
38GType nm_wimax_nsp_get_type(void);
39
40NM_DEPRECATED_IN_1_22
41const char *nm_wimax_nsp_get_name(NMWimaxNsp *nsp);
42NM_DEPRECATED_IN_1_22
43guint32 nm_wimax_nsp_get_signal_quality(NMWimaxNsp *nsp);
44NM_DEPRECATED_IN_1_22
45NMWimaxNspNetworkType nm_wimax_nsp_get_network_type(NMWimaxNsp *nsp);
46
47NM_DEPRECATED_IN_1_22
48GPtrArray *nm_wimax_nsp_filter_connections(NMWimaxNsp *nsp, const GPtrArray *connections);
49
50NM_DEPRECATED_IN_1_22
51gboolean nm_wimax_nsp_connection_valid(NMWimaxNsp *nsp, NMConnection *connection);
52
53G_END_DECLS
54
55#endif /* __NM_WIMAX_NSP_H__ */
56

source code of include/libnm/nm-wimax-nsp.h