Implement backend interface to publish entries
[cascardo/atompub.git] / include / atompub / backend.h
index 93a147a..30c516a 100644 (file)
@@ -34,9 +34,12 @@ void atom_backend_retrieve_entry_set (AtomBackend *,
 void atom_backend_enumerate_entries_set (AtomBackend *,
                                         void (AtomCtx *, char ***,
                                               AtomEntry ***, size_t *));
+void atom_backend_publish_entry_set (AtomBackend *,
+                                    void (AtomCtx *, char *, AtomEntry*));
 AtomEntry * atom_retrieve_entry (AtomCtx *, char *);
 void atom_enumerate_entries (AtomCtx *, char ***, AtomEntry ***, size_t *);
 AtomFeed * atom_retrieve_feed (AtomCtx *);
+void atom_publish_entry (AtomCtx *, char *, AtomEntry *);
 AtomBackend * atom_backend (AtomCtx *);
 void atom_backend_set (AtomCtx *, AtomBackend *);