Renamed retrieve_resource to retrieve_entry
[cascardo/atompub.git] / include / atompub / backend.h
index 5099ccd..3a41899 100644 (file)
 #include <atompub/ctx.h>
 #include <atompub/entry.h>
 #include <atompub/iri.h>
+#include <atompub/feed.h>
 
 typedef struct _atom_backend AtomBackend;
 
 AtomBackend *atom_backend_new (void);
 void atom_backend_delete (AtomBackend *);
-void atom_backend_retrieve_resource_set (AtomBackend *,
-                                        Atom * (AtomCtx *, IRI *));
-Atom * atom_retrieve_resource (AtomCtx *, IRI *);
+void atom_backend_retrieve_entry_set (AtomBackend *,
+                                     AtomEntry * (AtomCtx *, IRI *));
+void atom_backend_enumerate_entries_set (AtomBackend *,
+                                        void (AtomCtx *, AtomEntry ***, size_t *));
+AtomEntry * atom_retrieve_entry (AtomCtx *, IRI *);
+void atom_enumerate_entries (AtomCtx *, AtomEntry ***, size_t *);
+AtomFeed * atom_retrieve_feed (AtomCtx *);
 AtomBackend * atom_backend (AtomCtx *);
 void atom_backend_set (AtomCtx *, AtomBackend *);