Backend now retrieves a request, not an Atom ID
[cascardo/atompub.git] / include / atompub / backend.h
index d608800..93a147a 100644 (file)
@@ -30,11 +30,11 @@ 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 *));
-AtomEntry * atom_retrieve_entry (AtomCtx *, AtomID *);
+AtomEntry * atom_retrieve_entry (AtomCtx *, char *);
 void atom_enumerate_entries (AtomCtx *, char ***, AtomEntry ***, size_t *);
 AtomFeed * atom_retrieve_feed (AtomCtx *);
 AtomBackend * atom_backend (AtomCtx *);