mirror of
https://github.com/team-infusion-developers/android_device_samsung_msm8976-common.git
synced 2024-11-01 03:47:42 +00:00
61a4c37735
msm8976-common: ril: add open-sourced libsecnativefeature, used by libsec-ril Change-Id: I2f487db23b31c63ba919863f393ca37cc9a81191 libsecnativefeature: fix build with clang Change-Id: Ibda3234af2b1184e094913e35cb919a75f972c87 Change-Id: Iaaa06fa527cedce6609a95b21d787c13dda6a30a
24 lines
733 B
C
24 lines
733 B
C
#ifndef SEC_NATIVE_FEATURE_CIF_H
|
|
#define SEC_NATIVE_FEATURE_CIF_H
|
|
|
|
#ifdef __cplusplus
|
|
#define DECLARE_BEGIN_C extern "C" {
|
|
#define DECLARE_END_C }
|
|
#else
|
|
#define DECLARE_BEGIN_C
|
|
#define DECLARE_END_C
|
|
#endif
|
|
|
|
DECLARE_BEGIN_C
|
|
|
|
int SecNativeFeature_getEnableStatus(const char* tag);
|
|
int SecNativeFeature_getEnableStatusWithDefault(const char* tag, int defaultValue);
|
|
int SecNativeFeature_getInteger(const char* tag);
|
|
int SecNativeFeature_getIntegerWithDefault(const char* tag, int defaultValue);
|
|
const char* SecNativeFeature_getString(const char* tag);
|
|
const char* SecNativeFeature_getStringWithDefault(const char* tag, char* defaultValue);
|
|
|
|
DECLARE_END_C
|
|
|
|
#endif // SEC_NATIVE_FEATURE_CIF_H
|
|
|