CamelIMAPXServer: use function table for untagged handler dispatching
authorChristian Hilberg <chilberg@src.gnome.org>
Thu, 14 Jun 2012 14:21:06 +0000 (16:21 +0200)
committerMatthew Barnes <mbarnes@redhat.com>
Tue, 26 Jun 2012 15:20:28 +0000 (11:20 -0400)
commitf0c45d34b2c8b8eedc70c9a5bf6b0aa5f4ad93ff
treea5748f970c29415c2e7ac48da74ca75f10c256a8
parent30a67040323359dce64c5abd624b256e93365853
CamelIMAPXServer: use function table for untagged handler dispatching

* added a handler GHashTable to CamelIMAPXServer private data
* CamelIMAPXServer instance init populates the table with
  an initial set of handler functions (the ones previously
  existing in the class)
* using that function table in imapx_untagged() now to
  find the handler function registered for a given untagged
  response
camel/camel-imapx-server.c
camel/camel-imapx-server.h