diff options
author | Dmitri Pal <dpal@redhat.com> | 2012-03-18 14:46:37 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-04-05 11:20:08 -0700 |
commit | 89bd6c4dbb49ed8e6a540bb934ac7ac1ded1940e (patch) | |
tree | eb6fe7ecf3b4b54513de9398f173bb9d5d008f67 /ini/ini_configobj.h | |
parent | be389dc97e64653ca17ad76564dcc89ca7905937 (diff) | |
download | ding-libs-89bd6c4dbb49ed8e6a540bb934ac7ac1ded1940e.tar.gz ding-libs-89bd6c4dbb49ed8e6a540bb934ac7ac1ded1940e.tar.xz ding-libs-89bd6c4dbb49ed8e6a540bb934ac7ac1ded1940e.zip |
Metadata collection is gone
After some more thinking I decided not to use
metadata collection. It seems to be an overhead.
Patch does following:
* Replaces metadata collection in file context structure
with standard file stats
* Removes all operations against old metadata collection
* Defines new flags for data to collect
* Creates a function that consolidates common operations
between open and reopen functions.
Diffstat (limited to 'ini/ini_configobj.h')
-rw-r--r-- | ini/ini_configobj.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ini/ini_configobj.h b/ini/ini_configobj.h index 3321bd3..8984402 100644 --- a/ini/ini_configobj.h +++ b/ini/ini_configobj.h @@ -82,6 +82,26 @@ /** @brief Size of the error array. */ #define ERR_MAXPARSE ERR_DUPSECTION +/** + * @} + */ + +/** + * @defgroup metacollect Constants that define what meta data to collect + * + * Constants in this section define what meta data to collect + * + * + * @{ + */ +/** @brief Do not collect any data. */ +#define INI_META_NONE 0 +/** @brief Collect file stats. */ +#define INI_META_STATS 1 + +/** + * @} + */ /** * @defgroup collisionflags Flags that define collision resolution logic. |