common: Edit flags supported changes to IdentityInfo.
authorAmarnath Valluri <amarnath.valluri@linux.intel.com>
Mon, 29 Jul 2013 12:01:57 +0000 (15:01 +0300)
committerAmarnath Valluri <amarnath.valluri@linux.intel.com>
Thu, 5 Sep 2013 11:02:21 +0000 (14:02 +0300)
commit6c11f8c456b23ac42d7ec77fec8c3ffea7f9cfd4
tree6ce0d23f6e871feacf347bfd89efcac8ee857c5b
parent8487b47b142af8e3ac0f0d003956567ee2b3c100
common: Edit flags supported changes to IdentityInfo.

This commit adds 'EditFlags' to IdentityInfo. Which helps to track
the changes happening to a given identity info. This field is used
especially in DB to save only changed fields, than blindly refreshing
whole identity info.

I would prapose to change the IdentityInfo type to a new Boxed type
which internally uses the GSignondDictionary to save data. So that we
can move the 'EditFlags' out of the dictionary.
src/common/gsignond-identity-info-internal.h
src/common/gsignond-identity-info.c
src/common/gsignond-identity-info.h