+
+void
+atom_publish_entry (AtomCtx *ctx, char *req, AtomEntry *entry)
+{
+ AtomBackend *backend;
+ AtomError *aerr;
+ backend = atom_backend (ctx);
+ if (backend && backend->publish_entry)
+ {
+ backend->publish_entry (ctx, req, entry);
+ }
+ else
+ {
+ aerr = atom_error_new ();
+ atom_error_code_set (aerr, 501);
+ atom_error_message_set (aerr, "Not Implemented");
+ atom_error_set (ctx, aerr);
+ }
+}