summaryrefslogtreecommitdiffstats
path: root/src/modem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modem.c')
-rw-r--r--src/modem.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modem.c b/src/modem.c
index 44a81520..157f8d87 100644
--- a/src/modem.c
+++ b/src/modem.c
@@ -190,6 +190,11 @@ void __ofono_atom_unregister(struct ofono_atom *atom)
atom->unregister(atom);
}
+gboolean __ofono_atom_get_registered(struct ofono_atom *atom)
+{
+ return atom->unregister ? TRUE : FALSE;
+}
+
int __ofono_modem_add_atom_watch(struct ofono_modem *modem,
enum ofono_atom_type type,
ofono_atom_watch_func notify,