aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.h')
-rw-r--r--src/world.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/world.h b/src/world.h
index 08c351fe..ab7aad80 100644
--- a/src/world.h
+++ b/src/world.h
@@ -19,11 +19,17 @@
#include "serd/serd.h"
+#include <stdio.h>
+
struct SerdWorldImpl {
SerdErrorFunc error_func;
void* error_handle;
};
+/// Open a file configured for fast sequential reading
+FILE*
+serd_world_fopen(SerdWorld* world, const char* path, const char* mode);
+
SerdStatus
serd_world_error(const SerdWorld* world, const SerdError* e);