make use of the md5.c inside libubox
[project/ubox.git] / validate / cli.c
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <string.h>
4 #include <stdbool.h>
5 #include <ctype.h>
6
7 #include <arpa/inet.h>
8 #include <netinet/ether.h>
9 #include <sys/stat.h>
10
11 #include "libvalidate.h"
12
13 int main(int argc, char **argv)
14 {
15         bool rv;
16
17         if (argc == 3) {
18                 rv = dt_parse(argv[1], argv[2]);
19
20                 printf("%s - %s = %s\n", argv[1], argv[2], rv ? "true" : "false");
21
22                 return rv ? 0 : 1;
23         } else if (argc > 3) {
24
25         }
26
27         return 0;
28 }