aboutsummaryrefslogtreecommitdiffhomepage
path: root/midimonster.c
blob: 58166d652d40c03fa1a98e7ef4a0b5ab6dd245b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "midimonster.h"

int usage(char* fn){
	fprintf(stderr, "MIDIMonster v0.1\n");
	fprintf(stderr, "Usage:\n");
	fprintf(stderr, "\t%s <configfile>\n", fn);
	return EXIT_FAILURE;
}

int main(int argc, char** argv){
	char* cfg_file = DEFAULT_CFG;
	if(argc > 1){
		cfg_file = argv[1];
	}

	//initialize backends
	//read config
	//wait for events
	//free all data

	return EXIT_SUCCESS;
}