/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * libmbim-glib -- GLib/GIO based library to control MBIM devices * * Copyright (C) 2022 Daniele Palmas * * Based on previous work: * Copyright (C) 2020-2021 Eric Caruso * Copyright (C) 2020-2021 Andrew Lassalle * Copyright (C) 2021 Aleksander Morgado */ #ifndef _LIBMBIM_GLIB_MBIM_NET_PORT_MANAGER_WDM_H_ #define _LIBMBIM_GLIB_MBIM_NET_PORT_MANAGER_WDM_H_ #include #include #define MBIM_TYPE_NET_PORT_MANAGER_WDM (mbim_net_port_manager_wdm_get_type ()) #define MBIM_NET_PORT_MANAGER_WDM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MBIM_TYPE_NET_PORT_MANAGER_WDM, MbimNetPortManagerWdm)) #define MBIM_NET_PORT_MANAGER_WDM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MBIM_TYPE_NET_PORT_MANAGER_WDM, MbimNetPortManagerWdmClass)) #define MBIM_IS_NET_PORT_MANAGER_WDM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MBIM_TYPE_NET_PORT_MANAGER_WDM)) #define MBIM_IS_NET_PORT_MANAGER_WDM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MBIM_TYPE_NET_PORT_MANAGER_WDM)) #define MBIM_NET_PORT_MANAGER_WDM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MBIM_TYPE_NET_PORT_MANAGER_WDM, MbimNetPortManagerWdmClass)) typedef struct _MbimNetPortManagerWdm MbimNetPortManagerWdm; typedef struct _MbimNetPortManagerWdmClass MbimNetPortManagerWdmClass; struct _MbimNetPortManagerWdm { MbimNetPortManager parent; }; struct _MbimNetPortManagerWdmClass { MbimNetPortManagerClass parent; }; GType mbim_net_port_manager_wdm_get_type (void); G_DEFINE_AUTOPTR_CLEANUP_FUNC (MbimNetPortManagerWdm, g_object_unref) MbimNetPortManagerWdm *mbim_net_port_manager_wdm_new (const gchar *iface, GError **error); #endif /* _LIBMBIM_GLIB_MBIM_NET_PORT_MANAGER_WDM_H_ */