Backend now retrieves a request, not an Atom ID
[cascardo/atompub.git] / include / atompub / backend.h
index d423212..93a147a 100644 (file)
@@ -30,14 +30,12 @@ typedef struct _atom_backend AtomBackend;
 AtomBackend *atom_backend_new (void);
 void atom_backend_delete (AtomBackend *);
 void atom_backend_retrieve_entry_set (AtomBackend *,
-                                     AtomEntry * (AtomCtx *, AtomID *));
+                                     AtomEntry * (AtomCtx *, char *));
 void atom_backend_enumerate_entries_set (AtomBackend *,
                                         void (AtomCtx *, char ***,
                                               AtomEntry ***, size_t *));
-void atom_backend_is_feed_set (AtomBackend *, int (AtomCtx *, AtomID *));
-AtomEntry * atom_retrieve_entry (AtomCtx *, AtomID *);
+AtomEntry * atom_retrieve_entry (AtomCtx *, char *);
 void atom_enumerate_entries (AtomCtx *, char ***, AtomEntry ***, size_t *);
-int atom_is_feed (AtomCtx *, AtomID *);
 AtomFeed * atom_retrieve_feed (AtomCtx *);
 AtomBackend * atom_backend (AtomCtx *);
 void atom_backend_set (AtomCtx *, AtomBackend *);