Use filenm.c data for FileNameOption.
authorTeemu Murtola <teemu.murtola@gmail.com>
Mon, 30 Sep 2013 14:34:15 +0000 (17:34 +0300)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Thu, 3 Oct 2013 12:07:30 +0000 (14:07 +0200)
commit390861879fc97a3c5a14d553b4fc07c487fa57a4
tree66c53c018fca2637a655ed22ae40b968e75f9efa
parentd963123e4ec9cbdd0f6d53bb88b3e8152a23db84
Use filenm.c data for FileNameOption.

Expose the necessary data (through functions) from filenm.c so that
FileNameOption can use it.  Removes the need to duplicate the file name
extensions (potentially also other stuff in the future) for the period
that both coexist.

Part of #642.

Change-Id: I0b375da494d6e9c8a0fe6a38d9e1f27078ab9726
src/gromacs/gmxlib/filenm.c
src/gromacs/legacyheaders/filenm.h
src/gromacs/options/filenameoption.cpp