Correct order of odd and even row colours in the rowcolors command, and set colours...
[kugel-rb.git] / tools / database / database.c
blob1f398c02f035d340f94c68301bbf4e19fc1855a4
1 /* A _very_ skeleton file to demonstrate building tagcache db on host. */
3 #include <stdio.h>
4 #include <sys/stat.h>
5 #include "tagcache.h"
7 int main(int argc, char **argv)
9 tagcache_init();
10 tagcache_build(".");
11 tagcache_reverse_scan();
13 return 0;
16 /* stub to avoid including all of apps/misc.c */
17 bool file_exists(const char *file)
19 struct stat s;
20 if (!stat(file, &s))
21 return true;
22 return false;
25 /* stubs to avoid including thread-sdl.c */
26 #include "kernel.h"
27 void mutex_init(struct mutex *m)
29 (void)m;
32 void mutex_lock(struct mutex *m)
34 (void)m;
37 void mutex_unlock(struct mutex *m)
39 (void)m;
42 void thread_sdl_thread_lock(void *me)
44 (void)me;
47 void * thread_sdl_thread_unlock(void)
49 return (void*)1;