Make LOA local to the binding
[src/app-framework-binder.git] / src / afb-context.h
index 40adeb5..ceda5d2 100644 (file)
@@ -32,10 +32,6 @@ 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;
                };
        };
        void *api_key;
@@ -57,4 +53,5 @@ extern void afb_context_refresh(struct afb_context *context);
 extern int afb_context_check(struct afb_context *context);
 extern int afb_context_check_loa(struct afb_context *context, unsigned loa);
 extern int afb_context_change_loa(struct afb_context *context, unsigned loa);
+extern unsigned afb_context_get_loa(struct afb_context *context);