usb_moded 0.86.0+mer64
|
#include <stdbool.h>
#include <glib.h>
Go to the source code of this file.
Data Structures | |
struct | modedata_t |
Typedefs | |
typedef struct modedata_t | modedata_t |
Functions | |
void | modedata_free (modedata_t *self) |
modedata_t * | modedata_copy (const modedata_t *that) |
void | modelist_free (GList *modelist) |
GList * | modelist_load (bool diag) |
Copyright (c) 2011 Nokia Corporation. All rights reserved. Copyright (c) 2013 - 2020 Jolla Ltd. Copyright (c) 2020 Open Mobile Platform LLC.
This program is free software; you can redistribute it and/or modify it under the terms of the Lesser GNU General Public License version 2 as published by the Free Software Foundation.
This program 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 General Public License for more details.
You should have received a copy of the Lesser GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Definition in file usb_moded-dyn-config.h.
typedef struct modedata_t modedata_t |
Struct keeping all the data needed for the definition of a dynamic mode
modedata_t * modedata_copy | ( | const modedata_t * | that | ) |
Clone modedata_t object
that | Object pointer, or NULL |
Definition at line 115 of file usb_moded-dyn-config.c.
void modedata_free | ( | modedata_t * | self | ) |
Relase modedata_t object
self | Object pointer, or NULL |
Definition at line 79 of file usb_moded-dyn-config.c.
void modelist_free | ( | GList * | modelist | ) |
Release mode list
modelist | List pointer, or NULL |
Definition at line 345 of file usb_moded-dyn-config.c.
GList * modelist_load | ( | bool | diag | ) |
Load mode data files from configuration directory
diag | true to load diagnostic modes, or false for normal modes |
Definition at line 360 of file usb_moded-dyn-config.c.