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 | |
16 | G_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 | */ |
36 | typedef struct _NMWimaxNspClass NMWimaxNspClass; |
37 | |
38 | GType nm_wimax_nsp_get_type(void); |
39 | |
40 | NM_DEPRECATED_IN_1_22 |
41 | const char *nm_wimax_nsp_get_name(NMWimaxNsp *nsp); |
42 | NM_DEPRECATED_IN_1_22 |
43 | guint32 nm_wimax_nsp_get_signal_quality(NMWimaxNsp *nsp); |
44 | NM_DEPRECATED_IN_1_22 |
45 | NMWimaxNspNetworkType nm_wimax_nsp_get_network_type(NMWimaxNsp *nsp); |
46 | |
47 | NM_DEPRECATED_IN_1_22 |
48 | GPtrArray *nm_wimax_nsp_filter_connections(NMWimaxNsp *nsp, const GPtrArray *connections); |
49 | |
50 | NM_DEPRECATED_IN_1_22 |
51 | gboolean nm_wimax_nsp_connection_valid(NMWimaxNsp *nsp, NMConnection *connection); |
52 | |
53 | G_END_DECLS |
54 | |
55 | #endif /* __NM_WIMAX_NSP_H__ */ |
56 | |