summaryrefslogtreecommitdiffstats
path: root/validate_data.c
blob: dc5e96b38d73e9b73b4f20345ecda7d76acf7ac6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <ctype.h>

#include <arpa/inet.h>
#include <netinet/ether.h>
#include <sys/stat.h>

#include "libvalidate.h"

int main(int argc, char **argv)
{
	bool rv;

	if (argc == 3) {
		rv = dt_parse(argv[1], argv[2]);

		printf("%s - %s = %s\n", argv[1], argv[2], rv ? "true" : "false");

		return rv ? 0 : 1;
	} else if (argc > 3) {

	}

	return 0;
}