The frontend tells if a request is a feed or not
[cascardo/atompub.git] / include / atompub / backend.h
index 9a84f2f..d608800 100644 (file)
@@ -29,12 +29,13 @@ typedef struct _atom_backend AtomBackend;
 
 AtomBackend *atom_backend_new (void);
 void atom_backend_delete (AtomBackend *);
-void atom_backend_retrieve_resource_set (AtomBackend *,
-                                        AtomEntry * (AtomCtx *, IRI *));
+void atom_backend_retrieve_entry_set (AtomBackend *,
+                                     AtomEntry * (AtomCtx *, AtomID *));
 void atom_backend_enumerate_entries_set (AtomBackend *,
-                                        void (AtomCtx *, AtomEntry ***, size_t *));
-AtomEntry * atom_retrieve_resource (AtomCtx *, IRI *);
-void atom_enumerate_entries (AtomCtx *, AtomEntry ***, size_t *);
+                                        void (AtomCtx *, char ***,
+                                              AtomEntry ***, size_t *));
+AtomEntry * atom_retrieve_entry (AtomCtx *, AtomID *);
+void atom_enumerate_entries (AtomCtx *, char ***, AtomEntry ***, size_t *);
 AtomFeed * atom_retrieve_feed (AtomCtx *);
 AtomBackend * atom_backend (AtomCtx *);
 void atom_backend_set (AtomCtx *, AtomBackend *);