Open Source Telephony
 help / color / mirror / Atom feed
* [PATCH 1/2] lte.h: added ofono_lte_get_modem global function
@ 2018-09-22 10:04 Giacinto Cifelli
  2018-09-22 10:04 ` [PATCH 2/2] src/lte.c: added implementation for ofono_lte_get_modem Giacinto Cifelli
  2018-09-22 11:49 ` [PATCH 1/2] lte.h: added ofono_lte_get_modem global function Giacinto Cifelli
  0 siblings, 2 replies; 4+ messages in thread
From: Giacinto Cifelli @ 2018-09-22 10:04 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 571 bytes --]

this function can be used in the drivers to query the functions
ofono_modem_get_* to retrieve modem-specific properties
---
 include/lte.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/lte.h b/include/lte.h
index ef84ab99..0f2501c0 100644
--- a/include/lte.h
+++ b/include/lte.h
@@ -61,6 +61,8 @@ void ofono_lte_set_data(struct ofono_lte *lte, void *data);
 
 void *ofono_lte_get_data(const struct ofono_lte *lte);
 
+struct ofono_modem *ofono_lte_get_modem(const struct ofono_lte *lte);
+
 #ifdef __cplusplus
 }
 #endif
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-09-22 11:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-22 10:04 [PATCH 1/2] lte.h: added ofono_lte_get_modem global function Giacinto Cifelli
2018-09-22 10:04 ` [PATCH 2/2] src/lte.c: added implementation for ofono_lte_get_modem Giacinto Cifelli
2018-09-22 11:49   ` Giacinto Cifelli
2018-09-22 11:49 ` [PATCH 1/2] lte.h: added ofono_lte_get_modem global function Giacinto Cifelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox