config: not export tdm_config function to backend 22/174622/1
authorBoram Park <boram1288.park@samsung.com>
Tue, 3 Apr 2018 07:46:34 +0000 (16:46 +0900)
committerBoram Park <boram1288.park@samsung.com>
Tue, 3 Apr 2018 07:50:36 +0000 (16:50 +0900)
Change-Id: I2c8d162912c0971e6be5443c18535df81055eca7

include/tdm_backend.h
src/tdm_config.h
src/tdm_private.h

index 970cbc4..0416a90 100644 (file)
@@ -1443,28 +1443,6 @@ tdm_event_loop_source_timer_update(tdm_event_loop_source *source, unsigned int m
 void
 tdm_event_loop_source_remove(tdm_event_loop_source *source);
 
-/**
- * @brief Get the ini value with given key
- * @details
- * @param[in] key The given key
- * @param[in] default_value The default value
- * @return the value of given key if success. Otherwise, default_value.
- * @see #tdm_config_get_string
- */
-int
-tdm_config_get_int(const char *key, int default_value);
-
-/**
- * @brief Get the ini value with given key
- * @details
- * @param[in] key The given key
- * @param[in] default_value The default value
- * @return the value of given key if success. Otherwise, default_value.
- * @see #tdm_config_get_int
- */
-const char *
-tdm_config_get_string(const char *key, const char *default_value);
-
 
 /**
  * @brief Trigger a 'need to validate' event.
index b6a34ba..73eeb9f 100644 (file)
@@ -49,11 +49,45 @@ extern "C" {
  * @brief The config header file for a frontend library
  */
 
-void
-tdm_config_deinit(void);
+/**
+ * @brief Get the ini value with given key
+ * @details
+ * @param[in] key The given key
+ * @param[in] default_value The default value
+ * @return the value of given key if success. Otherwise, default_value.
+ * @see #tdm_config_get_string
+ */
+int
+tdm_config_get_int(const char *key, int default_value);
+
+/**
+ * @brief Get the ini value with given key
+ * @details
+ * @param[in] key The given key
+ * @param[in] default_value The default value
+ * @return the value of given key if success. Otherwise, default_value.
+ * @see #tdm_config_get_int
+ */
+const char *
+tdm_config_get_string(const char *key, const char *default_value);
 
+/**
+ * @brief Set the ini value with given key
+ * @details
+ * @param[in] key The given key
+ * @param[in] value The value
+ * @return TDM_ERROR_NONE if success. Otherwise, error value.
+ */
 tdm_error
 tdm_config_set_int(const char *key, int value);
+
+/**
+ * @brief Set the ini value with given key
+ * @details
+ * @param[in] key The given key
+ * @param[in] value The value
+ * @return TDM_ERROR_NONE if success. Otherwise, error value.
+ */
 tdm_error
 tdm_config_set_string(const char *key, const char *value);
 
index 9b1951d..40f9e79 100644 (file)
@@ -238,6 +238,9 @@ tdm_error
 tdm_display_enable_fps(tdm_private_display *private_display, int enable);
 
 void
+tdm_config_deinit(void);
+
+void
 tdm_monitor_server_command(tdm_display *dpy, const char *options, char *reply, int *len);
 
 #ifdef __cplusplus