/usr/include/libmbim-glib/mbim-phonebook.h is in libmbim-glib-dev 1.12.2-2ubuntu1.
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 | /* 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) 2013 - 2014 Aleksander Morgado <aleksander@aleksander.es>
*/
#include <glib.h>
#include <glib-object.h>
#include <gio/gio.h>
#include "mbim-message.h"
#include "mbim-device.h"
#include "mbim-enums.h"
#ifndef __LIBMBIM_GLIB_MBIM_PHONEBOOK__
#define __LIBMBIM_GLIB_MBIM_PHONEBOOK__
G_BEGIN_DECLS
/*****************************************************************************/
/* Struct: MbimPhonebookEntry */
/**
* MbimPhonebookEntry:
* @entry_index: a #guint32.
* @number: a string.
* @name: a string.
*/
typedef struct {
guint32 entry_index;
gchar *number;
gchar *name;
} MbimPhonebookEntry;
void mbim_phonebook_entry_array_free (MbimPhonebookEntry **array);
/*****************************************************************************/
/* Message (Query): MBIM Message Phonebook Configuration */
MbimMessage *mbim_message_phonebook_configuration_query_new (
GError **error);
/*****************************************************************************/
/* Message (Response): MBIM Message Phonebook Configuration */
gboolean mbim_message_phonebook_configuration_response_parse (
const MbimMessage *message,
MbimPhonebookState *state,
guint32 *number_of_entries,
guint32 *used_entries,
guint32 *max_number_length,
guint32 *max_name,
GError **error);
/*****************************************************************************/
/* Message (Notification): MBIM Message Phonebook Configuration */
gboolean mbim_message_phonebook_configuration_notification_parse (
const MbimMessage *message,
MbimPhonebookState *state,
guint32 *number_of_entries,
guint32 *used_entries,
guint32 *max_number_length,
guint32 *max_name,
GError **error);
/*****************************************************************************/
/* Message (Query): MBIM Message Phonebook Read */
MbimMessage *mbim_message_phonebook_read_query_new (
MbimPhonebookFlag filter_flag,
guint32 filter_message_index,
GError **error);
/*****************************************************************************/
/* Message (Response): MBIM Message Phonebook Read */
gboolean mbim_message_phonebook_read_response_parse (
const MbimMessage *message,
guint32 *entry_count,
MbimPhonebookEntry ***entries,
GError **error);
/*****************************************************************************/
/* Message (Set): MBIM Message Phonebook Delete */
MbimMessage *mbim_message_phonebook_delete_set_new (
MbimPhonebookFlag filter_flag,
guint32 filter_message_index,
GError **error);
/*****************************************************************************/
/* Message (Response): MBIM Message Phonebook Delete */
gboolean mbim_message_phonebook_delete_response_parse (
const MbimMessage *message,
GError **error);
/*****************************************************************************/
/* Message (Set): MBIM Message Phonebook Write */
MbimMessage *mbim_message_phonebook_write_set_new (
MbimPhonebookWriteFlag save_flag,
guint32 save_index,
const gchar *number,
const gchar *name,
GError **error);
/*****************************************************************************/
/* Message (Response): MBIM Message Phonebook Write */
gboolean mbim_message_phonebook_write_response_parse (
const MbimMessage *message,
GError **error);
G_END_DECLS
#endif /* __LIBMBIM_GLIB_MBIM_PHONEBOOK__ */
|