Add config framework non-empty string validation requirement option.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 27 Jun 2013 02:55:16 +0000 (02:55 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 27 Jun 2013 02:55:16 +0000 (02:55 +0000)
commitd416b15c52c470417de96569cc7b94930a6b6df3
tree1251e12d5f618df80ea4b4727cab227c50d43238
parentd014ad2261b1a4ffb590edcd7b7b4d6c31a74457
Add config framework non-empty string validation requirement option.

Add config framework OPT_CHAR_ARRAY_T and OPT_STRINGFIELD_T non-empty
requirement option.  There are cases were you don't want a config option
string to be empty.  To require the option string to be non-empty, just
set the aco_option_register() flags parameter to non-zero.

* Updated some config framework enum aco_option_type comments.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/config_options.h
main/config_options.c