Remove Profile Build Dependency (1/2): do it at runtime
[platform/upstream/connman.git] / src / connman.h
index 26aa7e5..2217cc4 100755 (executable)
@@ -125,11 +125,6 @@ int __connman_agent_request_peer_authorization(struct connman_peer *peer,
                                                bool wps_requested,
                                                const char *dbus_sender,
                                                void *user_data);
-#if defined TIZEN_CONNMAN_USE_BLACKLIST
-dbus_bool_t __connman_agent_request_blacklist_check(
-                               const char *name, const char *security, const char *eap);
-#endif
-
 #include <connman/log.h>
 
 int __connman_log_init(const char *program, const char *debug,
@@ -704,8 +699,6 @@ bool __connman_service_wps_enabled(struct connman_service *service);
 #if defined TIZEN_EXT
 void __connman_service_set_storage_reload(struct connman_service *service,
                                                bool storage_reload);
-void __connman_service_set_autoconnect(struct connman_service *service,
-                                               bool autoconnect);
 #endif
 int __connman_service_set_favorite(struct connman_service *service,
                                                bool favorite);
@@ -1074,3 +1067,12 @@ void __connman_machine_cleanup(void);
 int __connman_util_get_random(uint64_t *val);
 int __connman_util_init(void);
 void __connman_util_cleanup(void);
+
+#ifdef TIZEN_EXT
+__attribute__ ((unused)) static int __tizentvextension = -1;
+#define TIZEN_TV_EXT (__builtin_expect(__tizentvextension != -1, 1) ? \
+       __tizentvextension : \
+       (__tizentvextension = connman_setting_get_bool("TizenTVExtension")))
+#else /* TIZEN_EXT */
+#define TIZEN_TV_EXT (0) /* Always False */
+#endif /* TIZEN_EXT */