/* GENERATED CODE... DO NOT EDIT */ /* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * Copyright (C) 2013 - 2018 Aleksander Morgado */ #include #include #include #include "mbim-message.h" #include "mbim-device.h" #include "mbim-enums.h" #include "mbim-tlv.h" #ifndef __LIBMBIM_GLIB_MBIM_DSS__ #define __LIBMBIM_GLIB_MBIM_DSS__ G_BEGIN_DECLS /** * SECTION:mbim-dss * @title: Dss service * @short_description: Support for the Dss service. * * This section implements support for requests, responses and notifications in the * Dss service. */ /*****************************************************************************/ /* Message (Set): MBIM Message DSS Connect */ /** * mbim_message_dss_connect_set_new: * @device_service_id: (in): the 'DeviceServiceId' field, given as a #MbimUuid. * @dss_session_id: (in): the 'DssSessionId' field, given as a #guint32. * @dss_link_state: (in): the 'DssLinkState' field, given as a #MbimDssLinkState. * @error: return location for error or %NULL. * * Create a new request for the 'Connect' set command in the 'DSS' service. * * Returns: a newly allocated #MbimMessage, which should be freed with mbim_message_unref(). * * Since: 1.4 */ MbimMessage *mbim_message_dss_connect_set_new ( const MbimUuid *device_service_id, guint32 dss_session_id, MbimDssLinkState dss_link_state, GError **error); /*****************************************************************************/ /* Message (Response): MBIM Message DSS Connect */ /** * mbim_message_dss_connect_response_parse: * @message: the #MbimMessage. * @error: return location for error or %NULL. * * Parses and returns parameters of the 'Connect' response command in the 'DSS' service. * * Returns: %TRUE if the message was correctly parsed, %FALSE if @error is set. * * Since: 1.4 */ gboolean mbim_message_dss_connect_response_parse ( const MbimMessage *message, GError **error); /*****************************************************************************/ /* Service helpers for printable fields */ #if defined (LIBMBIM_GLIB_COMPILATION) G_GNUC_INTERNAL gchar * __mbim_message_dss_get_printable_fields ( const MbimMessage *message, const gchar *line_prefix, GError **error); #endif G_END_DECLS #endif /* __LIBMBIM_GLIB_MBIM_DSS__ */