aboutsummaryrefslogtreecommitdiffstats
path: root/rilsrc/libsecnativefeature/SecNativeFeatureCIf.h
blob: 3d26168fb82f2bbebd225346cb5f8f917e510b72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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