mirror of git://git.sysmocom.de/ofono
gprs-context: Adding get function for inteface
Added definition of get function to get interface value in gprs-context
This commit is contained in:
parent
d32dc69898
commit
608c683250
|
@ -2811,6 +2811,11 @@ enum ofono_gprs_context_type ofono_gprs_context_get_type(
|
||||||
return gc->type;
|
return gc->type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char *ofono_gprs_context_get_interface(struct ofono_gprs_context *gc)
|
||||||
|
{
|
||||||
|
return gc->interface;
|
||||||
|
}
|
||||||
|
|
||||||
void ofono_gprs_context_set_interface(struct ofono_gprs_context *gc,
|
void ofono_gprs_context_set_interface(struct ofono_gprs_context *gc,
|
||||||
const char *interface)
|
const char *interface)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue