/usr/include/libqmi-glib/qmi-wda.h is in libqmi-glib-dev 1.12.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 | /* GENERATED CODE... DO NOT EDIT */
/*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA.
*
* Copyright (C) 2012 Lanedo GmbH
* Copyright (C) 2012-2015 Aleksander Morgado <aleksander@aleksander.es>
*/
#include <glib.h>
#include <glib-object.h>
#include <gio/gio.h>
#include "qmi-enums.h"
#include "qmi-enums-wda.h"
#include "qmi-message.h"
#include "qmi-client.h"
#ifndef __LIBQMI_GLIB_QMI_WDA__
#define __LIBQMI_GLIB_QMI_WDA__
G_BEGIN_DECLS
/*****************************************************************************/
/* REQUEST/RESPONSE: Qmi Message WDA Set Data Format */
/* --- Input -- */
/**
* QmiMessageWdaSetDataFormatInput:
*
* The #QmiMessageWdaSetDataFormatInput structure contains private data and should only be accessed
* using the provided API.
*/
typedef struct _QmiMessageWdaSetDataFormatInput QmiMessageWdaSetDataFormatInput;
GType qmi_message_wda_set_data_format_input_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_WDA_SET_DATA_FORMAT_INPUT (qmi_message_wda_set_data_format_input_get_type ())
gboolean qmi_message_wda_set_data_format_input_get_downlink_data_aggregation_max_size (
QmiMessageWdaSetDataFormatInput *self,
guint32 *downlink_data_aggregation_max_size,
GError **error);
gboolean qmi_message_wda_set_data_format_input_set_downlink_data_aggregation_max_size (
QmiMessageWdaSetDataFormatInput *self,
guint32 downlink_data_aggregation_max_size,
GError **error);
gboolean qmi_message_wda_set_data_format_input_get_downlink_data_aggregation_max_datagrams (
QmiMessageWdaSetDataFormatInput *self,
guint32 *downlink_data_aggregation_max_datagrams,
GError **error);
gboolean qmi_message_wda_set_data_format_input_set_downlink_data_aggregation_max_datagrams (
QmiMessageWdaSetDataFormatInput *self,
guint32 downlink_data_aggregation_max_datagrams,
GError **error);
gboolean qmi_message_wda_set_data_format_input_get_ndp_signature (
QmiMessageWdaSetDataFormatInput *self,
guint32 *ndp_signature,
GError **error);
gboolean qmi_message_wda_set_data_format_input_set_ndp_signature (
QmiMessageWdaSetDataFormatInput *self,
guint32 ndp_signature,
GError **error);
gboolean qmi_message_wda_set_data_format_input_get_downlink_data_aggregation_protocol (
QmiMessageWdaSetDataFormatInput *self,
QmiWdaDataAggregationProtocol *downlink_data_aggregation_protocol,
GError **error);
gboolean qmi_message_wda_set_data_format_input_set_downlink_data_aggregation_protocol (
QmiMessageWdaSetDataFormatInput *self,
QmiWdaDataAggregationProtocol downlink_data_aggregation_protocol,
GError **error);
gboolean qmi_message_wda_set_data_format_input_get_uplink_data_aggregation_protocol (
QmiMessageWdaSetDataFormatInput *self,
QmiWdaDataAggregationProtocol *uplink_data_aggregation_protocol,
GError **error);
gboolean qmi_message_wda_set_data_format_input_set_uplink_data_aggregation_protocol (
QmiMessageWdaSetDataFormatInput *self,
QmiWdaDataAggregationProtocol uplink_data_aggregation_protocol,
GError **error);
gboolean qmi_message_wda_set_data_format_input_get_link_layer_protocol (
QmiMessageWdaSetDataFormatInput *self,
QmiWdaLinkLayerProtocol *link_layer_protocol,
GError **error);
gboolean qmi_message_wda_set_data_format_input_set_link_layer_protocol (
QmiMessageWdaSetDataFormatInput *self,
QmiWdaLinkLayerProtocol link_layer_protocol,
GError **error);
gboolean qmi_message_wda_set_data_format_input_get_qos_format (
QmiMessageWdaSetDataFormatInput *self,
gboolean *qos_format,
GError **error);
gboolean qmi_message_wda_set_data_format_input_set_qos_format (
QmiMessageWdaSetDataFormatInput *self,
gboolean qos_format,
GError **error);
QmiMessageWdaSetDataFormatInput *qmi_message_wda_set_data_format_input_ref (QmiMessageWdaSetDataFormatInput *self);
void qmi_message_wda_set_data_format_input_unref (QmiMessageWdaSetDataFormatInput *self);
QmiMessageWdaSetDataFormatInput *qmi_message_wda_set_data_format_input_new (void);
/* --- Output -- */
/**
* QmiMessageWdaSetDataFormatOutput:
*
* The #QmiMessageWdaSetDataFormatOutput structure contains private data and should only be accessed
* using the provided API.
*/
typedef struct _QmiMessageWdaSetDataFormatOutput QmiMessageWdaSetDataFormatOutput;
GType qmi_message_wda_set_data_format_output_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_WDA_SET_DATA_FORMAT_OUTPUT (qmi_message_wda_set_data_format_output_get_type ())
gboolean qmi_message_wda_set_data_format_output_get_result (
QmiMessageWdaSetDataFormatOutput *self,
GError **error);
gboolean qmi_message_wda_set_data_format_output_get_qos_format (
QmiMessageWdaSetDataFormatOutput *self,
gboolean *qos_format,
GError **error);
gboolean qmi_message_wda_set_data_format_output_get_link_layer_protocol (
QmiMessageWdaSetDataFormatOutput *self,
QmiWdaLinkLayerProtocol *link_layer_protocol,
GError **error);
gboolean qmi_message_wda_set_data_format_output_get_uplink_data_aggregation_protocol (
QmiMessageWdaSetDataFormatOutput *self,
QmiWdaDataAggregationProtocol *uplink_data_aggregation_protocol,
GError **error);
gboolean qmi_message_wda_set_data_format_output_get_downlink_data_aggregation_protocol (
QmiMessageWdaSetDataFormatOutput *self,
QmiWdaDataAggregationProtocol *downlink_data_aggregation_protocol,
GError **error);
gboolean qmi_message_wda_set_data_format_output_get_ndp_signature (
QmiMessageWdaSetDataFormatOutput *self,
guint32 *ndp_signature,
GError **error);
gboolean qmi_message_wda_set_data_format_output_get_downlink_data_aggregation_max_datagrams (
QmiMessageWdaSetDataFormatOutput *self,
guint32 *downlink_data_aggregation_max_datagrams,
GError **error);
gboolean qmi_message_wda_set_data_format_output_get_downlink_data_aggregation_max_size (
QmiMessageWdaSetDataFormatOutput *self,
guint32 *downlink_data_aggregation_max_size,
GError **error);
QmiMessageWdaSetDataFormatOutput *qmi_message_wda_set_data_format_output_ref (QmiMessageWdaSetDataFormatOutput *self);
void qmi_message_wda_set_data_format_output_unref (QmiMessageWdaSetDataFormatOutput *self);
/*****************************************************************************/
/* REQUEST/RESPONSE: Qmi Message WDA Get Data Format */
/* --- Input -- */
/* Note: no fields in the Input container */
/* --- Output -- */
/**
* QmiMessageWdaGetDataFormatOutput:
*
* The #QmiMessageWdaGetDataFormatOutput structure contains private data and should only be accessed
* using the provided API.
*/
typedef struct _QmiMessageWdaGetDataFormatOutput QmiMessageWdaGetDataFormatOutput;
GType qmi_message_wda_get_data_format_output_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_WDA_GET_DATA_FORMAT_OUTPUT (qmi_message_wda_get_data_format_output_get_type ())
gboolean qmi_message_wda_get_data_format_output_get_result (
QmiMessageWdaGetDataFormatOutput *self,
GError **error);
gboolean qmi_message_wda_get_data_format_output_get_qos_format (
QmiMessageWdaGetDataFormatOutput *self,
gboolean *qos_format,
GError **error);
gboolean qmi_message_wda_get_data_format_output_get_link_layer_protocol (
QmiMessageWdaGetDataFormatOutput *self,
QmiWdaLinkLayerProtocol *link_layer_protocol,
GError **error);
gboolean qmi_message_wda_get_data_format_output_get_uplink_data_aggregation_protocol (
QmiMessageWdaGetDataFormatOutput *self,
QmiWdaDataAggregationProtocol *uplink_data_aggregation_protocol,
GError **error);
gboolean qmi_message_wda_get_data_format_output_get_downlink_data_aggregation_protocol (
QmiMessageWdaGetDataFormatOutput *self,
QmiWdaDataAggregationProtocol *downlink_data_aggregation_protocol,
GError **error);
gboolean qmi_message_wda_get_data_format_output_get_ndp_signature (
QmiMessageWdaGetDataFormatOutput *self,
guint32 *ndp_signature,
GError **error);
gboolean qmi_message_wda_get_data_format_output_get_uplink_data_aggregation_max_size (
QmiMessageWdaGetDataFormatOutput *self,
guint32 *uplink_data_aggregation_max_size,
GError **error);
gboolean qmi_message_wda_get_data_format_output_get_downlink_data_aggregation_max_size (
QmiMessageWdaGetDataFormatOutput *self,
guint32 *downlink_data_aggregation_max_size,
GError **error);
QmiMessageWdaGetDataFormatOutput *qmi_message_wda_get_data_format_output_ref (QmiMessageWdaGetDataFormatOutput *self);
void qmi_message_wda_get_data_format_output_unref (QmiMessageWdaGetDataFormatOutput *self);
/*****************************************************************************/
/* Service-specific printable: WDA */
#if defined (LIBQMI_GLIB_COMPILATION)
G_GNUC_INTERNAL
gchar *__qmi_message_wda_get_printable (
QmiMessage *self,
const gchar *line_prefix);
#endif
#if defined (LIBQMI_GLIB_COMPILATION)
G_GNUC_INTERNAL
gboolean __qmi_message_wda_get_version_introduced (
QmiMessage *self,
guint *major,
guint *minor);
#endif
/*****************************************************************************/
/* CLIENT: QMI Client WDA */
#define QMI_TYPE_CLIENT_WDA (qmi_client_wda_get_type ())
#define QMI_CLIENT_WDA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), QMI_TYPE_CLIENT_WDA, QmiClientWda))
#define QMI_CLIENT_WDA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), QMI_TYPE_CLIENT_WDA, QmiClientWdaClass))
#define QMI_IS_CLIENT_WDA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), QMI_TYPE_CLIENT_WDA))
#define QMI_IS_CLIENT_WDA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), QMI_TYPE_CLIENT_WDA))
#define QMI_CLIENT_WDA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), QMI_TYPE_CLIENT_WDA, QmiClientWdaClass))
typedef struct _QmiClientWda QmiClientWda;
typedef struct _QmiClientWdaClass QmiClientWdaClass;
/**
* QmiClientWda:
*
* The #QmiClientWda structure contains private data and should only be accessed
* using the provided API.
*/
struct _QmiClientWda {
/*< private >*/
QmiClient parent;
gpointer priv_unused;
};
struct _QmiClientWdaClass {
/*< private >*/
QmiClientClass parent;
};
GType qmi_client_wda_get_type (void);
void qmi_client_wda_set_data_format (
QmiClientWda *self,
QmiMessageWdaSetDataFormatInput *input,
guint timeout,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
QmiMessageWdaSetDataFormatOutput *qmi_client_wda_set_data_format_finish (
QmiClientWda *self,
GAsyncResult *res,
GError **error);
void qmi_client_wda_get_data_format (
QmiClientWda *self,
gpointer unused,
guint timeout,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
QmiMessageWdaGetDataFormatOutput *qmi_client_wda_get_data_format_finish (
QmiClientWda *self,
GAsyncResult *res,
GError **error);
G_END_DECLS
#endif /* __LIBQMI_GLIB_QMI_WDA__ */
|