Commit Graph

6 Commits

Author SHA1 Message Date
dmh
be329e7a23 Add ability to programmatically
extract info from libnetcdf.settings
API is below.
I have made this API public yet
by adding it to netcdf.h. I will
do that when everyone is agreed on the
proper API.

extern const char* nc_settings(const char* key); /*get value of a specific key */
extern const char** nc_settings_all(); /*get all settings in envv format */
extern void nc_settings_reclaim(); /* reclaim all space and clean up */

Envv format is
{key,value}*,NULL

Also added test: nc_test/tst_settings.c
2014-08-29 14:51:14 -06:00
Russ Rew
cb0bd0da40 Regularized libnetcdf.settings.in to make parsing settings file easier 2014-08-24 16:29:44 -06:00
Ward Fisher
2b939d8b5f Tweaked the libnetcdf.settings template file. 2014-05-30 16:15:53 -06:00
Ward Fisher
cb25feb786 First pass at fleshing out libnetcdf.settings for autotools-based builds. 2014-05-30 15:30:58 -06:00
Ward Fisher
5f6edb62ea Added code to check for C Compiler. 2014-05-30 13:48:55 -06:00
Ward Fisher
6c0e34f89a Added skeleton for libnetcdf.settings. See JIRA ticket at https://bugtracking.unidata.ucar.edu/browse/NCF-303 2014-05-30 13:36:35 -06:00