aboutsummaryrefslogtreecommitdiffstats
path: root/rilsrc/libsecnativefeature/SecNativeFeatureCIf.h
diff options
context:
space:
mode:
Diffstat (limited to 'rilsrc/libsecnativefeature/SecNativeFeatureCIf.h')
-rw-r--r--rilsrc/libsecnativefeature/SecNativeFeatureCIf.h24
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
+