Add new config parse tree node definitions

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Rewrite bison/flex parser combo

Lots of changes at one go:

* parser is reentrant
* rework of include file handling
* rework of output to use new data structures
* Cleanups of mem leaks, yacc rules.
* New config parsing to new parser APIs

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Rework parse tree printing and free to use new data structures

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Rework old config lookup functions

Move to new data structures.  These functions will be in place until
various config processing modules are changed to the new api.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Remove obsolete config file parsing code and references

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Add new config parse tree to runtime config struct infrastructure

This is table driven semantic and validation logic.  The table is a
mapping between the parse tree nodes and the structure members.

* add enum, path and unique (only once) param processing

* Do init pass for block before lookup.  Missing block fallback to defaults

* Add attributes mode processing to config processor

* Add sub-block and inet addr and port processing

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Rework nfs_read_core_conf to use new config infrastructure

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Remove static initialization for nfs_core

We don't need this anymore because new infrastructure sets defaults

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Convert allocated char arrays to char * in krb5 config

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Rework krb5 params to new config infrastructure

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Remove static initialization for krb5 params

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Rework ip name cache params to new config infrastructure

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Remove static initialization for ip name params

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Rework nfsv4 params to new config infrastructure

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Remove nfsv4 static initialization

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Rework 9P params to new config infrastructure

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Remove static initialization for 9P params

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Rework cache inode params to new config infrastructure

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Remove static initialization for cache inode params

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Rework VFS params parsing to new infrastructure

Signed-off-by: Jim Lieb <jlieb@panasas.com>