aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
blob: 613fec7983f540ac3986fb6c3ddc8f5a67c2f8b0 (plain) (blame)
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
30
31
#include "db.h"
#include <time.h>


int main(){

	inputBuffer *in = newInputBuffer();

	row *r = newRow("~/test/img.png");

	while(0){

		prompt();
		getInput(in);
		
		insertTag(r, in->buffer);
		printf("Tags of row '%s': %s\n", r->path, r->tags);
		printf("Number of tags: %u. Length of tags: %u\n", r->numTags, r->lenTags);

		/*switch(handleInput(in)){
			case META_COMMAND_SUCCESS:
				printf("we done it nigger\n");
				break;
			case META_COMMAND_FAIL:
				printf("uh-oh nigga i dunno what '%s' is!\n", in->buffer);
				break;
		}*/
	}

	return 0;
}