diff options
author | Ziyan <jaraidaniel@gmail.com> | 2016-09-09 18:04:54 +0200 |
---|---|---|
committer | Andreas Blaesius <skate4life@gmx.de> | 2016-09-15 13:29:15 +0200 |
commit | b74ba5d64209c27fd57fc80752ddba5764b5beba (patch) | |
tree | 6bf7129f80dee08f88e3abb87994e15be8252973 /rilsrc/libsecnativefeature/SecNativeFeatureCIf.h | |
parent | e3365c5214b4d20702852955143a2938e94f8a1d (diff) | |
download | device_samsung_espresso3g-b74ba5d64209c27fd57fc80752ddba5764b5beba.zip device_samsung_espresso3g-b74ba5d64209c27fd57fc80752ddba5764b5beba.tar.gz device_samsung_espresso3g-b74ba5d64209c27fd57fc80752ddba5764b5beba.tar.bz2 |
ril: add open-sourced libsecnativefeature, used by libsec-ril
Change-Id: I2f487db23b31c63ba919863f393ca37cc9a81191
Diffstat (limited to 'rilsrc/libsecnativefeature/SecNativeFeatureCIf.h')
-rw-r--r-- | rilsrc/libsecnativefeature/SecNativeFeatureCIf.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/rilsrc/libsecnativefeature/SecNativeFeatureCIf.h b/rilsrc/libsecnativefeature/SecNativeFeatureCIf.h new file mode 100644 index 0000000..3d26168 --- /dev/null +++ b/rilsrc/libsecnativefeature/SecNativeFeatureCIf.h @@ -0,0 +1,24 @@ +#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 + |