Replace e_source_registry_server_queue_auth_session().
authorMatthew Barnes <mbarnes@redhat.com>
Sat, 28 Jul 2012 16:04:27 +0000 (12:04 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Sat, 28 Jul 2012 21:19:09 +0000 (17:19 -0400)
commit56636b1bdf616e5d3581a050f827bfbd7ce3f1dc
treed7478b8cdd324f08f95873d161ecd06cac87b023
parent45cd76e600322bec2097c32ccc2f6e421b8fad28
Replace e_source_registry_server_queue_auth_session().

I realized ECollectionBackends are going to need a proper asynchronous
authentication function so they know when authentication is achieved.

e_source_registry_server_queue_auth_session() is a "fire-and-forget"
function with no way for the caller to know if and when authentication
is achieved.

The replacement function, e_source_registry_server_authenticate_sync(),
is a variation of e_source_registry_authenticate_sync() for use in the
registry service itself.  It takes an EAuthenticationSession instead of
an ESource.

Since this API has not yet seen a stable release, I'm going to forego
deprecating the old function and just remove it.  This is an API break,
and the libebackend soname has been bumped accordingly.
configure.ac
docs/reference/libebackend/libebackend-sections.txt
libebackend/e-authentication-session.c
libebackend/e-source-registry-server.c
libebackend/e-source-registry-server.h