struct _atom_backend
{
- AtomEntry * (*retrieve_entry) (AtomCtx *, AtomID *);
+ AtomEntry * (*retrieve_entry) (AtomCtx *, char *);
void (*enumerate_entries) (AtomCtx *, char ***, AtomEntry ***, size_t *);
};
void
atom_backend_retrieve_entry_set (AtomBackend *backend,
AtomEntry *retrieve_entry (AtomCtx *,
- AtomID *))
+ char *))
{
backend->retrieve_entry = retrieve_entry;
}
}
AtomEntry *
-atom_retrieve_entry (AtomCtx *ctx, AtomID *id)
+atom_retrieve_entry (AtomCtx *ctx, char *req)
{
AtomBackend *backend;
backend = atom_backend (ctx);
if (backend && backend->retrieve_entry)
- return backend->retrieve_entry (ctx, id);
+ return backend->retrieve_entry (ctx, req);
return NULL;
}