From 36289ab10d078518cae4f88a0b4aa1c971730486 Mon Sep 17 00:00:00 2001 From: Dragos Tatulea Date: Fri, 18 Mar 2016 12:58:51 +0100 Subject: [PATCH] gprs-context.h: add op for reading context config This will be implemented by a gprs-context driver to support automatic context activation. The gprs atom will call the driver to read the ip configuration without activating the context. --- include/gprs-context.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/gprs-context.h b/include/gprs-context.h index 0090cc4d..c4910f2d 100644 --- a/include/gprs-context.h +++ b/include/gprs-context.h @@ -79,6 +79,9 @@ struct ofono_gprs_context_driver { ofono_gprs_context_cb_t cb, void *data); void (*detach_shutdown)(struct ofono_gprs_context *gc, unsigned int id); + void (*read_settings)(struct ofono_gprs_context *gc, + unsigned int cid, + ofono_gprs_context_cb_t cb, void *data); }; void ofono_gprs_context_deactivated(struct ofono_gprs_context *gc,