1/* SPDX-License-Identifier: LGPL-2.1-or-later */
2/*
3 * Copyright (C) 2017 Red Hat, Inc.
4 */
5
6#ifndef __NM_DEVICE_PPP_H__
7#define __NM_DEVICE_PPP_H__
8
9#if !defined(__NETWORKMANAGER_H_INSIDE__) && !defined(NETWORKMANAGER_COMPILATION)
10#error "Only <NetworkManager.h> can be included directly."
11#endif
12
13G_BEGIN_DECLS
14
15#define NM_TYPE_DEVICE_PPP (nm_device_ppp_get_type())
16#define NM_DEVICE_PPP(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), NM_TYPE_DEVICE_PPP, NMDevicePpp))
17#define NM_DEVICE_PPP_CLASS(klass) \
18 (G_TYPE_CHECK_CLASS_CAST((klass), NM_TYPE_DEVICE_PPP, NMDevicePppClass))
19#define NM_IS_DEVICE_PPP(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), NM_TYPE_DEVICE_PPP))
20#define NM_IS_DEVICE_PPP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), NM_TYPE_DEVICE_PPP))
21#define NM_DEVICE_PPP_GET_CLASS(obj) \
22 (G_TYPE_INSTANCE_GET_CLASS((obj), NM_TYPE_DEVICE_PPP, NMDevicePppClass))
23
24/**
25 * NMDevicePpp:
26 */
27typedef struct _NMDevicePppClass NMDevicePppClass;
28
29GType nm_device_ppp_get_type(void);
30
31G_END_DECLS
32
33#endif /* __NM_DEVICE_PPP_H__ */
34

source code of include/libnm/nm-device-ppp.h