151 files changed, 45277 insertions, 47437 deletions
diff --git a/tvapi/libtv/tvconfig/tvconfig.h b/tvapi/libtv/tvconfig/tvconfig.h index dfb0bd4..f2cf316 100644 --- a/tvapi/libtv/tvconfig/tvconfig.h +++ b/tvapi/libtv/tvconfig/tvconfig.h @@ -1,20 +1,20 @@ -#ifndef __TVCONFIG_API_H__
-#define __TVCONFIG_API_H__
-
-#define CC_CFG_KEY_STR_MAX_LEN (128)
-#define CC_CFG_VALUE_STR_MAX_LEN (512)
-
-
-extern int tv_config_load(const char *file_name);
-extern int tv_config_unload();
-extern int tv_config_save();
-
-//[TV] section
-
-extern int config_set_str(const char *section, const char *key, const char *value);
-extern const char *config_get_str(const char *section, const char *key, const char *def_value);
-extern int config_get_int(const char *section, const char *key, const int def_value);
-extern int config_set_int(const char *section, const char *key, const int value);
-
-
-#endif //__TVCONFIG_API_H__
+#ifndef __TVCONFIG_API_H__ +#define __TVCONFIG_API_H__ + +#define CC_CFG_KEY_STR_MAX_LEN (128) +#define CC_CFG_VALUE_STR_MAX_LEN (512) + + +extern int tv_config_load(const char *file_name); +extern int tv_config_unload(); +extern int tv_config_save(); + +//[TV] section + +extern int config_set_str(const char *section, const char *key, const char *value); +extern const char *config_get_str(const char *section, const char *key, const char *def_value); +extern int config_get_int(const char *section, const char *key, const int def_value); +extern int config_set_int(const char *section, const char *key, const int value); + + +#endif //__TVCONFIG_API_H__ |