Commit 9ae49bb2 authored by spiiroin's avatar spiiroin

[configfs] Make control details configurable. JB#44679

Configfs support was orginally developed in Sony XA2 context. Now it turns
out some details need tweaking to make it work with other devices.

Make location of configfs control file hierarchy, configuration and
functions to use tweakable via usb-moded configuration files.
Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
parent 0e9f72cb
......@@ -83,6 +83,7 @@ char *config_get_android_product_id (void);
char *config_get_hidden_modes (void);
char *config_get_mode_whitelist (void);
int config_is_roaming_not_allowed (void);
char *config_get_conf_string (const gchar *entry, const gchar *key);
/* ========================================================================= *
* Macros
......
......@@ -77,7 +77,7 @@ static char *config_get_network_netmask (void);
static char *config_get_network_nat_interface(void);
static void config_setup_default_values (GKeyFile *settingsfile);
static int config_get_conf_int (const gchar *entry, const gchar *key);
static char *config_get_conf_string (const gchar *entry, const gchar *key);
char *config_get_conf_string (const gchar *entry, const gchar *key);
static char *config_get_kcmdline_string (const char *entry);
char *config_get_mode_setting (void);
set_config_result_t config_set_config_setting (const char *entry, const char *key, const char *value);
......@@ -279,7 +279,7 @@ static int config_get_conf_int(const gchar *entry, const gchar *key)
return val;
}
static char * config_get_conf_string(const gchar *entry, const gchar *key)
char *config_get_conf_string(const gchar *entry, const gchar *key)
{
LOG_REGISTER_CONTEXT;
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment