blob: 6ce4a1f8eb6bfc1fdb70f3e90342b250c523a372 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include <stdlib.h>
#include "include/xdbms.h"
int main(int argc, char **argv) {
if (argc == 1)
exit(1);
char *filename = argv[1];
if (xdb_init(filename))
exit(1);
// TODO: make decoder be able to decode empty tags
xdb_stmt("<get><all>true</all></get>");
xdb_close();
exit(0);
}
|