summaryrefslogtreecommitdiffstats
path: root/common/ini/ini_config.h
diff options
context:
space:
mode:
authorDmitri Pal <dpal@redhat.com>2009-12-07 09:24:32 -0500
committerStephen Gallagher <sgallagh@redhat.com>2009-12-10 17:20:18 -0500
commitd7a4c5c28d4c8cab9f9679c75114d8810ed87777 (patch)
tree63a6230861dce4c8ac96b704c2bbeb8764d19748 /common/ini/ini_config.h
parenta505858c04d011c54ee0c1015cf5d8d069ff39be (diff)
downloadsssd-d7a4c5c28d4c8cab9f9679c75114d8810ed87777.tar.gz
sssd-d7a4c5c28d4c8cab9f9679c75114d8810ed87777.tar.xz
sssd-d7a4c5c28d4c8cab9f9679c75114d8810ed87777.zip
INI: Cleaning FIXME comments.
Added configurable key length. Changed comments for the functions that are currently not used and reserved for future functionality.
Diffstat (limited to 'common/ini/ini_config.h')
-rw-r--r--common/ini/ini_config.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/ini/ini_config.h b/common/ini/ini_config.h
index 5ae49814a..f7e041535 100644
--- a/common/ini/ini_config.h
+++ b/common/ini/ini_config.h
@@ -26,6 +26,7 @@
#include <limits.h>
#include <stdio.h>
#include "collection.h"
+#include "config.h"
/* Name of the default (missing section in the INI file */
#define INI_DEFAULT_SECTION "default"
@@ -68,9 +69,7 @@
-/* Internal sizes */
-/* FIXME - make them configurable via config.h */
-#define MAX_KEY 1024
+/* Internal sizes. MAX_KEY is defined in config.h */
#define MAX_VALUE PATH_MAX
#define BUFFER_SIZE MAX_KEY + MAX_VALUE + 3