summaryrefslogtreecommitdiff
path: root/libs/ardour/rdff.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-29 08:56:22 +0000
committerDavid Robillard <d@drobilla.net>2011-03-29 08:56:22 +0000
commit9bfc43bf66caed425bde10af7cd030aa0699e351 (patch)
treef717d44cdb430f12a1bec829ad5418648e192986 /libs/ardour/rdff.c
parent02d551d18390a5a59cb3977ade0811cf5822d32b (diff)
Update for latest LV2 persist extension.
git-svn-id: svn://localhost/ardour2/branches/3.0@9225 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/rdff.c')
-rw-r--r--libs/ardour/rdff.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/ardour/rdff.c b/libs/ardour/rdff.c
index eacdc0b0af..42a77c7230 100644
--- a/libs/ardour/rdff.c
+++ b/libs/ardour/rdff.c
@@ -163,6 +163,19 @@ rdff_read_chunk(RDFF file,
return RDFF_STATUS_OK;
}
+bool
+rdff_chunk_is_uri(RDFFChunk* chunk)
+
+{
+ return !strncmp(chunk->type, CHUNK_URID, CHUNK_ID_LEN);
+}
+
+bool
+rdff_chunk_is_triple(RDFFChunk* chunk)
+{
+ return !strncmp(chunk->type, CHUNK_TRIP, CHUNK_ID_LEN);
+}
+
void
rdff_close(RDFF file)
{