Added a backend per context
[cascardo/atompub.git] / include / atompub / backend.h
index 5b3756a..ef553d9 100644 (file)
 #include <atompub/entry.h>
 #include <atompub/iri.h>
 
+typedef struct _atom_backend AtomBackend;
+
 Atom * atom_retrieve_resource (AtomCtx *, IRI *);
+AtomBackend * atom_backend (AtomCtx *);
+void atom_backend_set (AtomCtx *, AtomBackend *);
 
 #endif