#define CONFIG_CLASS(x) ((x) & ~0x1F)
-static inline bool IsConfigStringType(unsigned type)
-{
- return (type & CONFIG_ITEM_STRING) != 0;
-}
-
-static inline bool IsConfigIntegerType (int type)
-{
- return (type & CONFIG_ITEM_INTEGER) != 0;
-}
-
-static inline bool IsConfigFloatType (int type)
-{
- return type == CONFIG_ITEM_FLOAT;
-}
+#define IsConfigStringType(type) \
+ (((type) & CONFIG_ITEM_STRING) != 0)
+#define IsConfigIntegerType(type) \
+ (((type) & CONFIG_ITEM_INTEGER) != 0)
+#define IsConfigFloatType(type) \
+ ((type) == CONFIG_ITEM_FLOAT)
extern vlc_rwlock_t config_lock;
+extern bool config_dirty;
bool config_IsSafe (const char *);