Fix building including request header into frontend header
[cascardo/atompub.git] / include / atompub / frontend.h
index 7e9ecc0..e2ee777 100644 (file)
@@ -21,6 +21,9 @@
 #define ATOMPUB_FRONTEND_H
 
 #include <atompub/ctx.h>
+#include <atompub/entry.h>
+#include <atompub/feed.h>
+#include <atompub/request.h>
 
 typedef struct _atom_frontend AtomFrontend;
 
@@ -29,7 +32,21 @@ void atom_frontend_delete (AtomFrontend *);
 void atom_frontend_map_entries_set (AtomFrontend *,
                                    void (AtomCtx *, char **,
                                          AtomEntry **, size_t));
+void atom_frontend_is_feed_set (AtomFrontend *, int (AtomCtx *, char *));
+void atom_frontend_get_request_set (AtomFrontend *,
+                                   AtomRequest * (AtomCtx *));
+void atom_frontend_handle_error_set (AtomFrontend *,
+                                    void (AtomCtx *));
+void atom_frontend_handle_entry_set (AtomFrontend *,
+                                    void (AtomCtx *, AtomEntry *));
+void atom_frontend_handle_feed_set (AtomFrontend *,
+                                   void (AtomCtx *, AtomFeed *));
 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 *);
 AtomFrontend * atom_frontend (AtomCtx *);
 void atom_frontend_set (AtomCtx *, AtomFrontend *);