summaryrefslogtreecommitdiffstats
path: root/common/ini/ini_config.c
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.c
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.c')
-rw-r--r--common/ini/ini_config.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/common/ini/ini_config.c b/common/ini/ini_config.c
index bd4fa79c7..6766dfad6 100644
--- a/common/ini/ini_config.c
+++ b/common/ini/ini_config.c
@@ -110,11 +110,15 @@ const char *parsing_error_str(int parsing_error)
return str_error[parsing_error-1];
}
-/* Function to return grammar error */
+/* Function to return grammar error.
+ * This functions is currently not used.
+ * It is planned to be used by the INI
+ * file grammar parser.
+ */
const char *grammar_error_str(int grammar_error)
{
const char *placeholder= _("Unknown grammar error.");
- /* FIXME - this is a temporary placeholder !!!! */
+ /* THIS IS A TEMPORARY PLACEHOLDER !!!! */
const char *str_error[] = { _(""),
_(""),
_(""),
@@ -131,11 +135,15 @@ const char *grammar_error_str(int grammar_error)
return str_error[grammar_error-1];
}
-/* Function to return validation error */
+/* Function to return validation error.
+ * This functions is currently not used.
+ * It is planned to be used by the INI
+ * file grammar validator.
+ */
const char *validation_error_str(int validation_error)
{
const char *placeholder= _("Unknown validation error.");
- /* FIXME - this is a temporary placeholder !!!! */
+ /* THIS IS A TEMPORARY PLACEHOLDER !!!! */
const char *str_error[] = { _(""),
_(""),
_(""),