generate.c (296B)
1 #include <string.h> 2 #include <stdio.h> 3 #include <libtasn1.h> 4 5 int main() { 6 int r; 7 char err[1024]; 8 asn1_node node; 9 10 err[0] = 0; 11 memset(&node, 0, sizeof(asn1_node)); 12 13 r = asn1_parser2array("./defs.txt", NULL, NULL, err); 14 if (r) { 15 fprintf(stderr, "%s\n", err); 16 return r; 17 } 18 return 0; 19 20 }