147c9fbaeSopenharmony_ci/*
247c9fbaeSopenharmony_ci * Copyright (c) 2021 Huawei Device Co., Ltd.
347c9fbaeSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
447c9fbaeSopenharmony_ci * you may not use this file except in compliance with the License.
547c9fbaeSopenharmony_ci * You may obtain a copy of the License at
647c9fbaeSopenharmony_ci *
747c9fbaeSopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
847c9fbaeSopenharmony_ci *
947c9fbaeSopenharmony_ci * Unless required by applicable law or agreed to in writing, software
1047c9fbaeSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
1147c9fbaeSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1247c9fbaeSopenharmony_ci * See the License for the specific language governing permissions and
1347c9fbaeSopenharmony_ci * limitations under the License.
1447c9fbaeSopenharmony_ci */
1547c9fbaeSopenharmony_ci
1647c9fbaeSopenharmony_ci#ifndef BLACKBOX_DETECTOR_H
1747c9fbaeSopenharmony_ci#define BLACKBOX_DETECTOR_H
1847c9fbaeSopenharmony_ci
1947c9fbaeSopenharmony_ci#include "blackbox.h"
2047c9fbaeSopenharmony_ci
2147c9fbaeSopenharmony_ciint UploadEventByFile(const char *filePath);
2247c9fbaeSopenharmony_ciint UploadEventByStream(const char *buf, unsigned int bufSize);
2347c9fbaeSopenharmony_ci
2447c9fbaeSopenharmony_ci#endif // BLACKBOX_DETECTOR_H