session: start to manage concurrency
[src/app-framework-binder.git] / src / afb-context.h
index ceda5d2..5560585 100644 (file)
@@ -47,6 +47,7 @@ extern const char *afb_context_sent_uuid(struct afb_context *context);
 
 extern void *afb_context_get(struct afb_context *context);
 extern void afb_context_set(struct afb_context *context, void *value, void (*free_value)(void*));
+extern void *afb_context_data(struct afb_context *context, void *(*make_value)(void), void (*free_value)(void*));
 
 extern void afb_context_close(struct afb_context *context);
 extern void afb_context_refresh(struct afb_context *context);