usb_moded 0.86.0+mer64
usb_moded-configfs.c File Reference
#include "usb_moded-configfs.h"
#include "usb_moded-android.h"
#include "usb_moded-common.h"
#include "usb_moded-config-private.h"
#include "usb_moded-log.h"
#include "usb_moded-mac.h"
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>

Go to the source code of this file.

Functions

bool configfs_init (void)
void configfs_quit (void)

Detailed Description

Copyright (c) 2018 - 2021 Jolla Ltd. Copyright (c) 2020 Open Mobile Platform LLC.

Author
Simo Piiroinen simo..nosp@m.piir.nosp@m.oinen.nosp@m.@jol.nosp@m.lamob.nosp@m.ile..nosp@m.com

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-configfs.c.

Function Documentation

◆ configfs_init()

bool configfs_init ( void )

initialize the basic configfs values

Returns
true if configfs backend is ready for use, false otherwise

Definition at line 765 of file usb_moded-configfs.c.

◆ configfs_quit()

void configfs_quit ( void )

Cleanup resources allocated by configfs backend

Definition at line 825 of file usb_moded-configfs.c.