X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-context.h;h=3f4301ec4e83970750bd693cebb619034bf10cff;hb=457c879ff89bc7f1a8864304974999dba54af9ae;hp=2f5ecc10608d3e4bfc081fa39a9e748df8058d35;hpb=ed4e7e3b0690680d963bc722bc259a424099e7e5;p=src%2Fapp-framework-binder.git diff --git a/src/afb-context.h b/src/afb-context.h index 2f5ecc10..3f4301ec 100644 --- a/src/afb-context.h +++ b/src/afb-context.h @@ -32,6 +32,10 @@ struct afb_context unsigned refreshed: 1; unsigned closing: 1; unsigned closed: 1; + unsigned loa_in: 3; + unsigned loa_out: 3; + unsigned loa_changing: 1; + unsigned loa_changed: 1; }; }; int api_index; @@ -49,5 +53,6 @@ extern void afb_context_set(struct afb_context *context, void *value, void (*fre extern void afb_context_close(struct afb_context *context); extern void afb_context_refresh(struct afb_context *context); extern int afb_context_check(struct afb_context *context); -extern int afb_context_create(struct afb_context *context); +extern int afb_context_check_loa(struct afb_context *context, unsigned loa); +extern void afb_context_change_loa(struct afb_context *context, unsigned loa);