view netdiff/renpart/main.c @ 145:5e91200bf609

netdiff: donl-pinreport utility written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Nov 2020 01:17:10 +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);
}