mirror of
https://github.com/zoriya/xmlParser.git
synced 2025-12-18 00:25:11 +00:00
32 lines
466 B
C
32 lines
466 B
C
/*
|
|
** EPITECH PROJECT, 2019
|
|
** MUL_my_runner_2019
|
|
** File description:
|
|
** xml
|
|
*/
|
|
|
|
typedef struct node node;
|
|
typedef struct dictionary dictionary;
|
|
|
|
#pragma once
|
|
|
|
struct dictionary
|
|
{
|
|
char *key;
|
|
char *value;
|
|
|
|
dictionary *next;
|
|
};
|
|
|
|
struct node
|
|
{
|
|
char *name;
|
|
dictionary *properties;
|
|
node *child;
|
|
|
|
node *next;
|
|
};
|
|
|
|
node *xmlparse(char *path);
|
|
dictionary *property_add(dictionary *list, dictionary *property);
|
|
node *xml_parsenode(char **nodestr); |