207 } |
207 } |
208 return TAG_FORMAT_UNKNOWN; |
208 return TAG_FORMAT_UNKNOWN; |
209 } |
209 } |
210 |
210 |
211 #define CHECK_VALUE_RET_NULL(element, value) if(!(value)) \ |
211 #define CHECK_VALUE_RET_NULL(element, value) if(!(value)) \ |
212 print_error(element->line, "missing value element: %s\n", element->name); return NULL; |
212 {print_error(element->line, "missing value element: %s\n", element->name); return NULL;} |
213 |
213 |
214 static TagConfig* parse_tagconfig(xmlNode *node) { |
214 static TagConfig* parse_tagconfig(xmlNode *node) { |
215 TagConfig conf; |
215 TagConfig conf; |
216 conf.store = TAG_STORE_XATTR; |
216 conf.store = TAG_STORE_XATTR; |
217 conf.local_format = TAG_FORMAT_TEXT; |
217 conf.local_format = TAG_FORMAT_TEXT; |