summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-07-29 14:03:34 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-07-29 16:44:16 -0500
commit47dab3468e16e8af57f78da2beaa4c3841d7eac9 (patch)
treed55f6cad13da5bc93b3ec57fa0a64c62fcde9c21
parent35a43b8367bf6b25387d3cf73534d81937bd7b02 (diff)
downloadofono-47dab3468e16e8af57f78da2beaa4c3841d7eac9.tar.bz2
Move ofono_modem definition to ofono.h
-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);