| 1 |
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
| 2 |
/* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 3 |
/* |
| 4 |
* libmbim-glib -- GLib/GIO based library to control MBIM devices |
| 5 |
* |
| 6 |
* Copyright (C) 2022 Daniele Palmas <[email protected]> |
| 7 |
* |
| 8 |
* Based on previous work: |
| 9 |
* Copyright (C) 2020-2021 Eric Caruso <[email protected]> |
| 10 |
* Copyright (C) 2020-2021 Andrew Lassalle <[email protected]> |
| 11 |
* Copyright (C) 2021 Aleksander Morgado <[email protected]> |
| 12 |
*/ |
| 13 |
|
| 14 |
#ifndef _LIBMBIM_GLIB_MBIM_NET_PORT_MANAGER_WDM_H_ |
| 15 |
#define _LIBMBIM_GLIB_MBIM_NET_PORT_MANAGER_WDM_H_ |
| 16 |
|
| 17 |
#include <gio/gio.h> |
| 18 |
#include <glib-object.h> |
| 19 |
|
| 20 |
#define MBIM_TYPE_NET_PORT_MANAGER_WDM (mbim_net_port_manager_wdm_get_type ()) |
| 21 |
#define MBIM_NET_PORT_MANAGER_WDM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MBIM_TYPE_NET_PORT_MANAGER_WDM, MbimNetPortManagerWdm)) |
| 22 |
#define MBIM_NET_PORT_MANAGER_WDM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MBIM_TYPE_NET_PORT_MANAGER_WDM, MbimNetPortManagerWdmClass)) |
| 23 |
#define MBIM_IS_NET_PORT_MANAGER_WDM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MBIM_TYPE_NET_PORT_MANAGER_WDM)) |
| 24 |
#define MBIM_IS_NET_PORT_MANAGER_WDM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MBIM_TYPE_NET_PORT_MANAGER_WDM)) |
| 25 |
#define MBIM_NET_PORT_MANAGER_WDM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MBIM_TYPE_NET_PORT_MANAGER_WDM, MbimNetPortManagerWdmClass)) |
| 26 |
|
| 27 |
typedef struct _MbimNetPortManagerWdm MbimNetPortManagerWdm; |
| 28 |
typedef struct _MbimNetPortManagerWdmClass MbimNetPortManagerWdmClass; |
| 29 |
|
| 30 |
struct _MbimNetPortManagerWdm { |
| 31 |
MbimNetPortManager parent; |
| 32 |
}; |
| 33 |
|
| 34 |
struct _MbimNetPortManagerWdmClass { |
| 35 |
MbimNetPortManagerClass parent; |
| 36 |
}; |
| 37 |
|
| 38 |
GType mbim_net_port_manager_wdm_get_type (void); |
| 39 |
G_DEFINE_AUTOPTR_CLEANUP_FUNC (MbimNetPortManagerWdm, g_object_unref) |
| 40 |
|
| 41 |
MbimNetPortManagerWdm *mbim_net_port_manager_wdm_new (const gchar *iface, |
| 42 |
GError **error); |
| 43 |
|
| 44 |
#endif /* _LIBMBIM_GLIB_MBIM_NET_PORT_MANAGER_WDM_H_ */ |