X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-context.h;h=3f4301ec4e83970750bd693cebb619034bf10cff;hb=457c879ff89bc7f1a8864304974999dba54af9ae;hp=eeb4def33d68a0ec64cffccf981f36f3918f459b;hpb=f1b901ed676b2d45ec8e6ae3d6ef2f94d79f9ee6;p=src%2Fapp-framework-binder.git diff --git a/src/afb-context.h b/src/afb-context.h index eeb4def3..3f4301ec 100644 --- a/src/afb-context.h +++ b/src/afb-context.h @@ -1,5 +1,5 @@ /* - * Copyright 2016 IoT.bzh + * Copyright (C) 2016 "IoT.bzh" * Author: José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -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);