X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-context.h;h=a3e4e568bb133e00f4d125344c1c7406b9c55cf3;hb=7b42076a77b81e205ecc704c3bb7538716567487;hp=47e488c4e23fb04f56fad83d5772aed0d3188dc3;hpb=9ece61d2cbda88878b9f1e6a6e62d3d42cbdef00;p=src%2Fapp-framework-binder.git diff --git a/src/afb-context.h b/src/afb-context.h index 47e488c4..a3e4e568 100644 --- a/src/afb-context.h +++ b/src/afb-context.h @@ -48,7 +48,7 @@ extern const char *afb_context_uuid(struct afb_context *context); extern void *afb_context_get(struct afb_context *context); extern int 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_make(struct afb_context *context, int replace, void *(*make_value)(void *closure), void (*free_value)(void *item), void *closure); extern void afb_context_close(struct afb_context *context); extern void afb_context_refresh(struct afb_context *context);