Added publish handler to frontend
[cascardo/atompub.git] / include / atompub / frontend.h
index e2ee777..e2d4d6a 100644 (file)
@@ -41,12 +41,15 @@ void atom_frontend_handle_entry_set (AtomFrontend *,
                                     void (AtomCtx *, AtomEntry *));
 void atom_frontend_handle_feed_set (AtomFrontend *,
                                    void (AtomCtx *, AtomFeed *));
+void atom_frontend_handle_publish_set (AtomFrontend *,
+                                      void (AtomCtx *, AtomEntry *));
 void atom_map_entries (AtomCtx *, char **, AtomEntry **, size_t);
 int atom_is_feed (AtomCtx *, char *);
 AtomRequest * atom_get_request (AtomCtx *);
 void atom_handle_error (AtomCtx *);
 void atom_handle_entry (AtomCtx *, AtomEntry *);
 void atom_handle_feed (AtomCtx *, AtomFeed *);
+void atom_handle_publish (AtomCtx *, AtomEntry *);
 AtomFrontend * atom_frontend (AtomCtx *);
 void atom_frontend_set (AtomCtx *, AtomFrontend *);