-/*
- * add a file/files to an sqlite db
- * in the 'files' table.
- */
-
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "lzma.h"
+/* TODO pass in the outbuf ? */
+/* or wrap lzma_stream_buffer_bound */
void *compresslzma(void *buf, size_t bufsize, size_t *len) {
/* xz compress it */
size_t outsize;