*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
- * MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
while(1) {
res = fscanf(fp, "<ATTR NAME=\"%256[^\"]\" TYPE=%10[^ >]", buffer, type);
g_assert(res == 2);
name = g_quark_from_string(buffer);
if(strcmp(type, "ATTRS") == 0) {
while(1) {
res = fscanf(fp, "<ATTR NAME=\"%256[^\"]\" TYPE=%10[^ >]", buffer, type);
g_assert(res == 2);
name = g_quark_from_string(buffer);
if(strcmp(type, "ATTRS") == 0) {
subtree = lttv_attribute_find_subdir(self, name);
lttv_attribute_read_xml(subtree, fp);
}
subtree = lttv_attribute_find_subdir(self, name);
lttv_attribute_read_xml(subtree, fp);
}
}
else if(strcmp(type, "NONE") == 0) {
value = lttv_attribute_add(self, name, LTTV_NONE);
}
else if(strcmp(type, "NONE") == 0) {
value = lttv_attribute_add(self, name, LTTV_NONE);