xref: /rk3399_rockchip-uboot/include/android_avb/libavb_ab.h (revision cf7c71c1bf6a7af45601b778885a81aaada5967e)
1*cf7c71c1SJason Zhu /*
2*cf7c71c1SJason Zhu  * Copyright (C) 2016 The Android Open Source Project
3*cf7c71c1SJason Zhu  *
4*cf7c71c1SJason Zhu  * Permission is hereby granted, free of charge, to any person
5*cf7c71c1SJason Zhu  * obtaining a copy of this software and associated documentation
6*cf7c71c1SJason Zhu  * files (the "Software"), to deal in the Software without
7*cf7c71c1SJason Zhu  * restriction, including without limitation the rights to use, copy,
8*cf7c71c1SJason Zhu  * modify, merge, publish, distribute, sublicense, and/or sell copies
9*cf7c71c1SJason Zhu  * of the Software, and to permit persons to whom the Software is
10*cf7c71c1SJason Zhu  * furnished to do so, subject to the following conditions:
11*cf7c71c1SJason Zhu  *
12*cf7c71c1SJason Zhu  * The above copyright notice and this permission notice shall be
13*cf7c71c1SJason Zhu  * included in all copies or substantial portions of the Software.
14*cf7c71c1SJason Zhu  *
15*cf7c71c1SJason Zhu  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16*cf7c71c1SJason Zhu  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17*cf7c71c1SJason Zhu  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18*cf7c71c1SJason Zhu  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
19*cf7c71c1SJason Zhu  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
20*cf7c71c1SJason Zhu  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21*cf7c71c1SJason Zhu  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22*cf7c71c1SJason Zhu  * SOFTWARE.
23*cf7c71c1SJason Zhu  */
24*cf7c71c1SJason Zhu 
25*cf7c71c1SJason Zhu #ifndef LIBAVB_AB_H_
26*cf7c71c1SJason Zhu #define LIBAVB_AB_H_
27*cf7c71c1SJason Zhu 
28*cf7c71c1SJason Zhu #include <android_avb/libavb.h>
29*cf7c71c1SJason Zhu 
30*cf7c71c1SJason Zhu /* The AVB_INSIDE_LIBAVB_AB_H preprocessor symbol is used to enforce
31*cf7c71c1SJason Zhu  * library users to include only this file. All public interfaces, and
32*cf7c71c1SJason Zhu  * only public interfaces, must be included here.
33*cf7c71c1SJason Zhu  */
34*cf7c71c1SJason Zhu 
35*cf7c71c1SJason Zhu #define AVB_INSIDE_LIBAVB_AB_H
36*cf7c71c1SJason Zhu #include <android_avb/avb_ab_flow.h>
37*cf7c71c1SJason Zhu #include <android_avb/avb_ab_ops.h>
38*cf7c71c1SJason Zhu #undef AVB_INSIDE_LIBAVB_AB_H
39*cf7c71c1SJason Zhu 
40*cf7c71c1SJason Zhu #endif /* LIBAVB_AB_H_ */
41