summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-06-16 08:13:50 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-06-16 09:50:05 -0500
commit0516aa81633e5bdaf7ff3d45719bd3ea58668f0c (patch)
treedf5b604d747abb92a8c9c240a8ea83bc6bd06582 /include
parent6c7cf451a4ad047702b214f0c7f409975328260e (diff)
radio-settings: Conform to coding style item M4
Diffstat (limited to 'include')
-rw-r--r--include/radio-settings.h42
1 files changed, 25 insertions, 17 deletions
diff --git a/include/radio-settings.h b/include/radio-settings.h
index 9e740091..1d0ca3e3 100644
--- a/include/radio-settings.h
+++ b/include/radio-settings.h
@@ -55,24 +55,30 @@ enum ofono_radio_band_umts {
struct ofono_radio_settings;
-typedef void (*ofono_radio_settings_rat_mode_set_cb_t)(const struct ofono_error *error,
- void *data);
-typedef void (*ofono_radio_settings_rat_mode_query_cb_t)(const struct ofono_error *error,
+typedef void (*ofono_radio_settings_rat_mode_set_cb_t)(
+ const struct ofono_error *error,
+ void *data);
+typedef void (*ofono_radio_settings_rat_mode_query_cb_t)(
+ const struct ofono_error *error,
enum ofono_radio_access_mode mode,
void *data);
-typedef void (*ofono_radio_settings_band_set_cb_t)(const struct ofono_error *error,
- void *data);
-typedef void (*ofono_radio_settings_band_query_cb_t)(const struct ofono_error *error,
+typedef void (*ofono_radio_settings_band_set_cb_t)(
+ const struct ofono_error *error,
+ void *data);
+typedef void (*ofono_radio_settings_band_query_cb_t)(
+ const struct ofono_error *error,
enum ofono_radio_band_gsm band_gsm,
enum ofono_radio_band_umts band_umts,
void *data);
-typedef void (*ofono_radio_settings_fast_dormancy_set_cb_t)(const struct ofono_error *error,
- void *data);
-typedef void (*ofono_radio_settings_fast_dormancy_query_cb_t)(const struct ofono_error *error,
- ofono_bool_t enable,
- void *data);
+typedef void (*ofono_radio_settings_fast_dormancy_set_cb_t)(
+ const struct ofono_error *error,
+ void *data);
+typedef void (*ofono_radio_settings_fast_dormancy_query_cb_t)(
+ const struct ofono_error *error,
+ ofono_bool_t enable,
+ void *data);
struct ofono_radio_settings_driver {
const char *name;
@@ -103,13 +109,15 @@ struct ofono_radio_settings_driver {
void *data);
};
-int ofono_radio_settings_driver_register(const struct ofono_radio_settings_driver *d);
-void ofono_radio_settings_driver_unregister(const struct ofono_radio_settings_driver *d);
+int ofono_radio_settings_driver_register(
+ const struct ofono_radio_settings_driver *d);
+void ofono_radio_settings_driver_unregister(
+ const struct ofono_radio_settings_driver *d);
-struct ofono_radio_settings *ofono_radio_settings_create(struct ofono_modem *modem,
- unsigned int vendor,
- const char *driver,
- void *data);
+struct ofono_radio_settings *ofono_radio_settings_create(
+ struct ofono_modem *modem,
+ unsigned int vendor,
+ const char *driver, void *data);
void ofono_radio_settings_register(struct ofono_radio_settings *rs);
void ofono_radio_settings_remove(struct ofono_radio_settings *rs);