11bd4fe43Sopenharmony_ci/*
21bd4fe43Sopenharmony_ci * Copyright (C) 2021 HiSilicon (Shanghai) Technologies CO., LIMITED.
31bd4fe43Sopenharmony_ci *
41bd4fe43Sopenharmony_ci * This program is free software; you can redistribute it and/or
51bd4fe43Sopenharmony_ci * modify it under the terms of the GNU General Public License
61bd4fe43Sopenharmony_ci * as published by the Free Software Foundation; either version 2
71bd4fe43Sopenharmony_ci * of the License, or (at your option) any later version.
81bd4fe43Sopenharmony_ci *
91bd4fe43Sopenharmony_ci * This program is distributed in the hope that it will be useful,
101bd4fe43Sopenharmony_ci * but WITHOUT ANY WARRANTY; without even the implied warranty of
111bd4fe43Sopenharmony_ci * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
121bd4fe43Sopenharmony_ci * GNU General Public License for more details.
131bd4fe43Sopenharmony_ci *
141bd4fe43Sopenharmony_ci * You should have received a copy of the GNU General Public License
151bd4fe43Sopenharmony_ci * along with this program; if not, write to the Free Software
161bd4fe43Sopenharmony_ci * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
171bd4fe43Sopenharmony_ci */
181bd4fe43Sopenharmony_ci
191bd4fe43Sopenharmony_ci#ifndef __ACODEC_H__
201bd4fe43Sopenharmony_ci#define __ACODEC_H__
211bd4fe43Sopenharmony_ci#include<stdio.h>
221bd4fe43Sopenharmony_ci
231bd4fe43Sopenharmony_ci#ifdef __cplusplus
241bd4fe43Sopenharmony_ci#if __cplusplus
251bd4fe43Sopenharmony_ciextern "C" {
261bd4fe43Sopenharmony_ci#endif
271bd4fe43Sopenharmony_ci#endif /* end of #ifdef __cplusplus */
281bd4fe43Sopenharmony_ci
291bd4fe43Sopenharmony_citypedef enum {
301bd4fe43Sopenharmony_ci    SDK_INIT_SUCC = 0,
311bd4fe43Sopenharmony_ci    SDK_INIT_FAIL = 1,
321bd4fe43Sopenharmony_ci    SDK_INIT_REENTRY = 2
331bd4fe43Sopenharmony_ci} sdk_state_s;
341bd4fe43Sopenharmony_ci
351bd4fe43Sopenharmony_ciextern void sdk_exit(void);
361bd4fe43Sopenharmony_ciextern sdk_state_s sdk_init(void);
371bd4fe43Sopenharmony_ci
381bd4fe43Sopenharmony_ci#ifdef __cplusplus
391bd4fe43Sopenharmony_ci#if __cplusplus
401bd4fe43Sopenharmony_ci}
411bd4fe43Sopenharmony_ci#endif
421bd4fe43Sopenharmony_ci#endif /* end of #ifdef __cplusplus */
431bd4fe43Sopenharmony_ci
441bd4fe43Sopenharmony_ci#endif /* End of #ifndef __ACODEC_H__ */
45