summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-06-16 07:45:00 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-06-16 09:50:05 -0500
commit857fc7ee4186e432ebda80a7ec53ecd5015794c6 (patch)
tree112ac2eb5d06ddaef85029b9342db33d1d2dbf0e /include
parent55defb14cdf59743ca6cf4c22e702a23046c3791 (diff)
call-meter: Conform to coding style item M4
Diffstat (limited to 'include')
-rw-r--r--include/call-meter.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/include/call-meter.h b/include/call-meter.h
index 01c24af1..1e971425 100644
--- a/include/call-meter.h
+++ b/include/call-meter.h
@@ -31,9 +31,10 @@ extern "C" {
struct ofono_call_meter;
typedef void (*ofono_call_meter_query_cb_t)(const struct ofono_error *error,
- int value, void *data);
+ int value, void *data);
-typedef void (*ofono_call_meter_puct_query_cb_t)(const struct ofono_error *error,
+typedef void (*ofono_call_meter_puct_query_cb_t)(
+ const struct ofono_error *error,
const char *currency, double ppu,
void *data);
@@ -46,25 +47,26 @@ struct ofono_call_meter_driver {
void *data);
void (*remove)(struct ofono_call_meter *cm);
void (*call_meter_query)(struct ofono_call_meter *cm,
- ofono_call_meter_query_cb_t cb, void *data);
+ ofono_call_meter_query_cb_t cb, void *data);
void (*acm_query)(struct ofono_call_meter *cm,
- ofono_call_meter_query_cb_t cb, void *data);
+ ofono_call_meter_query_cb_t cb, void *data);
void (*acm_reset)(struct ofono_call_meter *cm, const char *sim_pin2,
- ofono_call_meter_set_cb_t cb, void *data);
+ ofono_call_meter_set_cb_t cb, void *data);
void (*acm_max_query)(struct ofono_call_meter *cm,
- ofono_call_meter_query_cb_t cb, void *data);
+ ofono_call_meter_query_cb_t cb, void *data);
void (*acm_max_set)(struct ofono_call_meter *cm, int new_value,
const char *sim_pin2,
ofono_call_meter_set_cb_t cb, void *data);
void (*puct_query)(struct ofono_call_meter *cm,
ofono_call_meter_puct_query_cb_t cb, void *data);
void (*puct_set)(struct ofono_call_meter *cm, const char *currency,
- double ppu, const char *sim_pin2,
- ofono_call_meter_set_cb_t cb, void *data);
+ double ppu, const char *sim_pin2,
+ ofono_call_meter_set_cb_t cb, void *data);
};
int ofono_call_meter_driver_register(const struct ofono_call_meter_driver *d);
-void ofono_call_meter_driver_unregister(const struct ofono_call_meter_driver *d);
+void ofono_call_meter_driver_unregister(
+ const struct ofono_call_meter_driver *d);
struct ofono_call_meter *ofono_call_meter_create(struct ofono_modem *modem,
unsigned int vendor,