summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/modem.h26
-rw-r--r--src/ofono.h26
2 files changed, 26 insertions, 26 deletions
diff --git a/src/modem.h b/src/modem.h
index d322df8d..4be4b9fe 100644
--- a/src/modem.h
+++ b/src/modem.h
@@ -21,32 +21,6 @@
struct ofono_modem_attribute_ops;
-struct ofono_modem {
- int id;
- char *path;
-
- void *userdata;
-
- GSList *ss_control_list;
- GSList *ss_passwd_list;
-
- struct ofono_modem_data *modem_info;
- struct network_registration_data *network_registration;
- struct voicecalls_data *voicecalls;
- struct call_forwarding_data *call_forwarding;
- struct ussd_data *ussd;
- struct call_settings_data *call_settings;
- struct call_waiting_data *call_waiting;
- struct call_meter_data *call_meter;
- struct call_barring_data *call_barring;
- struct cssn_data *cssn;
- struct sim_manager_data *sim_manager;
- struct sms_manager_data *sms_manager;
- struct phonebook_data *phonebook;
-
- GSList *history_contexts;
-};
-
struct ofono_modem *modem_create(int id, struct ofono_modem_attribute_ops *ops);
void modem_remove(struct ofono_modem *modem);
diff --git a/src/ofono.h b/src/ofono.h
index 434f7ba0..dbe99648 100644
--- a/src/ofono.h
+++ b/src/ofono.h
@@ -57,6 +57,32 @@ void __ofono_dbus_pending_reply(DBusMessage **msg, DBusMessage *reply);
int __ofono_plugin_init(const char *pattern, const char *exclude);
void __ofono_plugin_cleanup(void);
+struct ofono_modem {
+ int id;
+ char *path;
+
+ void *userdata;
+
+ GSList *ss_control_list;
+ GSList *ss_passwd_list;
+
+ struct ofono_modem_data *modem_info;
+ struct network_registration_data *network_registration;
+ struct voicecalls_data *voicecalls;
+ struct call_forwarding_data *call_forwarding;
+ struct ussd_data *ussd;
+ struct call_settings_data *call_settings;
+ struct call_waiting_data *call_waiting;
+ struct call_meter_data *call_meter;
+ struct call_barring_data *call_barring;
+ struct cssn_data *cssn;
+ struct sim_manager_data *sim_manager;
+ struct sms_manager_data *sms_manager;
+ struct phonebook_data *phonebook;
+
+ GSList *history_contexts;
+};
+
#include <ofono/history.h>
void __ofono_history_probe_drivers(struct ofono_modem *modem);