IMAPX: (utils) made capabilities flags extensible
authorChristian Hilberg <chilberg@src.gnome.org>
Fri, 22 Jun 2012 15:16:50 +0000 (17:16 +0200)
committerMatthew Barnes <mbarnes@redhat.com>
Tue, 26 Jun 2012 15:20:28 +0000 (11:20 -0400)
commitbcd3df6764d454fb869cecb14947da1fb22cf22e
tree98f83fc5875bc49f28284d470414d4431a645903
parent4a7c65acba51766d5c260c49f886b8c91599f295
IMAPX: (utils) made capabilities flags extensible

* added a hash table as an IMAP capabilities flags
  lookup mechanism for the capabilities parser util
  function
* added a capabilities strings registration function
  (to add new capabilities flags, which will then be
  known to the parser and assigned a new flag bit.
  This is returned by the registration function so
  the caller can test whether the bit is set in the
  CamelIMAPXServer capabilities bitstring)
camel/camel-imapx-utils.c
camel/camel-imapx-utils.h