Move struct manipulation code out of confparse.c
After I finish the variable-manipulation code in legacy/trac#30864, it's time to work on moving the struct-manipulation code out of confparse.c
issue