summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDragos Tatulea <dragos@endocode.com>2016-03-18 12:58:51 +0100
committerDenis Kenzior <denkenz@gmail.com>2016-03-18 09:40:32 -0500
commit36289ab10d078518cae4f88a0b4aa1c971730486 (patch)
tree014dec881ecf967e5764cb56c964a9db9569d7a8 /include
parent561a9f94a29c5ab3582255a9de7de818f32a3396 (diff)
downloadofono-36289ab10d078518cae4f88a0b4aa1c971730486.tar.gz
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.
Diffstat (limited to 'include')
-rw-r--r--include/gprs-context.h3
1 files changed, 3 insertions, 0 deletions
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,