singe/thirdparty/rockchip-mpp/osal/os_env.h
2026-09-10 20:17:28 -05:00

26 lines
536 B
C

/* SPDX-License-Identifier: Apache-2.0 OR MIT */
/*
* Copyright (c) 2015 Rockchip Electronics Co., Ltd.
*/
#ifndef OS_ENV_H
#define OS_ENV_H
#include "rk_type.h"
#ifdef __cplusplus
extern "C" {
#endif
RK_S32 os_get_env_u32(const char *name, RK_U32 *value, RK_U32 default_value);
RK_S32 os_get_env_str(const char *name, const char **value, const char *default_value);
RK_S32 os_set_env_u32(const char *name, RK_U32 value);
RK_S32 os_set_env_str(const char *name, char *value);
#ifdef __cplusplus
}
#endif
#endif /* OS_ENV_H */