Retrieve resource returns either an entry or a feed
[cascardo/atompub.git] / include / atompub / backend.h
index 3a41899..728c580 100644 (file)
@@ -36,6 +36,7 @@ void atom_backend_enumerate_entries_set (AtomBackend *,
 AtomEntry * atom_retrieve_entry (AtomCtx *, IRI *);
 void atom_enumerate_entries (AtomCtx *, AtomEntry ***, size_t *);
 AtomFeed * atom_retrieve_feed (AtomCtx *);
+AtomResource *atom_retrieve_resource (AtomCtx *, IRI *);
 AtomBackend * atom_backend (AtomCtx *);
 void atom_backend_set (AtomCtx *, AtomBackend *);