4 * Copyright (c) 2020 Samsung Electronics Co., Ltd.
6 * Licensed under the Apache License, Version 2.0 (the License);
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
18 #ifndef __DIAGNOSTICS_H__
19 #define __DIAGNOSTICS_H__
23 #define BR_ERR_PARAM 1
24 #define BR_ERR_INTERNAL 2
26 enum diagnostics_entry {
31 enum diagnostics_metadata {
37 struct diagnostics_report;
39 int diagnostics_report_get_file(const char *report_path,
40 const enum diagnostics_entry entry);
42 #endif // __DIAGNOSTICS_H__