PGresult *res;
+ if (argc != 3)
+ {
+ fprintf(stderr, "Usage: meta_ind <object_uri> <inductive_type_file>\n");
+ exit(1);
+ }
+
/*
* begin, by setting the parameters for a backend connection if the
* parameters are null, then the system will try to use reasonable
source_uri = malloc((sizeof('a')*2000));
source_uri_prefix=argv[1];
/* fprintf(stderr,"qua"); */
- yyin = fopen("tmp/inductive_type.xml", "r");
+ yyin = fopen(argv[2], "r");
yylex();
+
+ return 0;
}
search(uri,first_child,position,depth)