add: categ = calloc ( 1, sizeof ( struct gnucash_category ));  categ -> name = child_content ( categ_node, "name" ); categ -> guid = child_content ( categ_node, "id" );  if ( !strcmp ( child_content ( categ_node, "type" ), "INCOME" ) ) { categ -> type = GNUCASH_CATEGORY_INCOME; } else { categ -> type = GNUCASH_CATEGORY_EXPENSE; }  printf (">>> new categ: %s\n", categ -> name );  gnucash_categories = g_slist_append ( gnucash_categories, categ );
context: void recuperation_donnees_gnucash_categorie ( xmlDocPtr categ_node ){}