view netdiff/renpart/main.c @ 148:64d4abf63e1e

netdiff: donl-pindiff factored out of donl-netmatch
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Nov 2020 04:11:01 +0000
parents 77acb816727b
children
line wrap: on
line source

#include <stdio.h>
#include <stdlib.h>
#include "struct.h"

struct part_rename *part_rename_list;

main(argc, argv)
	char **argv;
{
	int i;

	if (argc != 3) {
		fprintf(stderr, "usage: %s input-donl rename-parts-file\n",
			argv[0]);
		exit(1);
	}
	process_rename_file(argv[2]);
	main_process(argv[1]);
	exit(0);
}