env: Add environment variable flags
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 12 Dec 2012 04:16:31 +0000 (22:16 -0600)
committerTom Rini <trini@ti.com>
Thu, 13 Dec 2012 18:46:56 +0000 (11:46 -0700)
commit2598090b7e17f8bdca95b22e7f27217054730e02
tree08c613d02581cdf4238736511cc10d5f3c782990
parente080d545f8ffb104a13b07deddf92ecb498b3a94
env: Add environment variable flags

Currently just validates variable types as decimal, hexidecimal,
boolean, ip address, and mac address.

If the entry is not found in the env ".flags", then look in the static
one. This allows the env to override the static definitions, but prevents
the need to have every definition in the environment distracting you.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
README
common/Makefile
common/cmd_nvedit.c
common/env_common.c
common/env_flags.c [new file with mode: 0644]
include/env_callback.h
include/env_default.h
include/env_flags.h [new file with mode: 0644]
include/environment.h
include/search.h
lib/hashtable.c