Starting up

This commit is contained in:
Tristan Roux
2019-12-05 19:53:11 +01:00
parent 8aaeea8ee4
commit 76b81478e5
61 changed files with 1826 additions and 59 deletions

View File

@@ -5,17 +5,27 @@
** xml
*/
typedef struct node node;
typedef struct dictionary dictionary;
#pragma once
typedef struct dictionary
struct dictionary
{
char *property;
char *key;
char *value;
} dictionary;
typedef struct node
dictionary *next;
};
struct node
{
char *name;
dictionary *properties;
node *child;
} node;
node *next;
};
dictionary *property_add(dictionary *list, dictionary *property);
node *xml_parsenode(char **nodestr);