* @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);
*/
#define TDM_CONFIG_KEY_GENERAL_COMMIT_PER_VBLANK "general:commit_per_vblank"
+/* enable the tdm virtual output module. [0(disable), 1(enable)]
+ * default: 0
+ * ex) 1
+ */
+#define TDM_CONFIG_KEY_GENERAL_VIRTUAL_OUTPUT "general:virtual_output"
+
/*** debug keys **************************************************************/