2023-08-10 09:48:10 -04:00
|
|
|
#include "haggis_private.h"
|
|
|
|
#include <assert.h>
|
|
|
|
#include <md5.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
haggis_file hf;
|
|
|
|
char *f = "output/store_file_sha256";
|
|
|
|
FILE *fd;
|
|
|
|
int res;
|
|
|
|
|
|
|
|
fd = fopen(f, "r");
|
2024-02-11 18:54:38 -05:00
|
|
|
res = haggis_load_file(&hf, fd);
|
2023-08-10 09:48:10 -04:00
|
|
|
fclose(fd);
|
|
|
|
return res;
|
|
|
|
}
|