summaryrefslogtreecommitdiff
path: root/config.c
blob: f11bbb63b59005331018026f90ac9b1f0b84d62c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include <stdio.h>
#include <string.h>

#include "nfcommander.h"
#include "config.h"

int config_read(char* path){
	//TODO
	printf("Reading config file %s\n", path);

	return 0;
}

char* config_get(char* section, char* property){
	//TODO
	printf("Querying for config property %s->%s\n", section, property);

	//TEMP
	if(!strcmp(property, "reader")){
		return "yhy";
	}

	return NULL;
}

void config_free(){
	//TODO
	printf("Cleaning up config data\n");
}