aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-12-26 19:25:51 -0500
committerDavid Robillard <d@drobilla.net>2020-10-27 13:13:58 +0100
commit36a418f0d8dfd10007e48d6e8cb796cfa8aa4d88 (patch)
treed498db3c1870a90e7ec91eba2ea4dcb9987f30e2 /src/world.h
parent5d65a0b7b687ffbbd624d75b42ac3336ce353c39 (diff)
downloadserd-36a418f0d8dfd10007e48d6e8cb796cfa8aa4d88.tar.gz
serd-36a418f0d8dfd10007e48d6e8cb796cfa8aa4d88.tar.bz2
serd-36a418f0d8dfd10007e48d6e8cb796cfa8aa4d88.zip
Hide fopen wrapper and use reader interface consistently
Diffstat (limited to 'src/world.h')
-rw-r--r--src/world.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/world.h b/src/world.h
index 86e155db..7aaf3689 100644
--- a/src/world.h
+++ b/src/world.h
@@ -19,11 +19,15 @@
#include "serd/serd.h"
+#include <stdio.h>
+
struct SerdWorldImpl {
SerdErrorSink error_sink;
void* error_handle;
};
+FILE* serd_world_fopen(SerdWorld* world, const char* path, const char* mode);
+
SerdStatus serd_world_error(const SerdWorld* world, const SerdError* e);
SerdStatus