summaryrefslogtreecommitdiff
path: root/yxml.c
blob: f575a8da60fd7491411eef004d3e05b6edea7f6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <stdio.h>
#include <stdlib.h>

#include "yxmllib.h"

#define BUFSIZE 8096

int process(char *fn, yxml_t *state) {
	yxml_init(state, state+1, BUFSIZE);

	return 0;
}

int main(int argc, char *argv[]) {
	yxml_t *state = malloc(sizeof(yxml_t) + BUFSIZE);

	for (int i = 1; i < argc; i++) {
		process(argv[i], state);
	}

	return 0;
}