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.
* @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);
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