netcdf-c/include
Dennis Heimbigner aabbdbf64c Make public a limited API for programmatic access to internal .rc tables
re: https://github.com/Unidata/netcdf-c/issues/2337
re: https://github.com/Unidata/netcdf-c/issues/2407

Add two functions to netcdf.h to allow programs to get/set
selected entries into the internal .rc tables. This should fix
the above issues by allowing HTTP.CAINFO to be set to the
certificates directory.  Note that the changes should be
performed as early as possible in the program because some of
the .rc table entries may get cached internally and changing the
entry after that caching occurs may have no effect.

The new signatures are as follows:

1. Get the value of a simple .rc entry of the form "key=value".
Note that caller must free the returned value, which might be NULL.
````
char* nc_rc_get(char* const * key);

@param key table entry key
@return value if .rc table has entry of the form key=value
@return NULL if no such entry is found.
````

2. Insert/Overwrite the specified key=value pair in the .rc table.
````
int nc_rc_set(const char* key, const char* value);

@param key table entry key -- may not be NULL
@param value table entry value -- may not be NULL
@return NC_NOERR if no error
@return NC_EINVAL if error
````

Addendum:

re: https://github.com/Unidata/netcdf-c/issues/2407

Modify dhttp.c to use the .rc entry HTTP.CAINFO if defined.
2022-06-17 14:35:12 -06:00
..
.gitignore
ceconstraints.h
CMakeLists.txt Fix additional S3 support issues 2021-10-29 20:06:37 -06:00
err_macros.h
fbits.h
hdf4dispatch.h
hdf5dispatch.h
hdf5internal.h Enhance/Fix filter support 2022-03-14 12:39:37 -06:00
isnan.h
Makefile.am Enhance/Fix filter support 2022-03-14 12:39:37 -06:00
nc3dispatch.h Fixed Clang -Wstrict-prototypes warnings 2022-03-01 23:21:24 -05:00
nc3internal.h Make sure mode flags are properly defined in netcdf.h 2022-01-11 19:05:46 -07:00
nc4dispatch.h
nc4internal.h Merge branch 'dimscale_attachement_optional' of https://github.com/gsjaardema/netcdf-c into gh2161.wif 2022-04-19 11:06:34 -06:00
nc_hashmap.h
nc_logging.h
nc_provenance.h
nc_tests.h Improve UTF8 Support On Windows 2022-02-08 20:53:30 -07:00
nc.h
ncauth.h Significantly Improve Amazon S3 Cloud Storage Support 2021-09-27 18:36:33 -06:00
ncbytes.h Significantly Improve Amazon S3 Cloud Storage Support 2021-09-27 18:36:33 -06:00
ncconfigure.h Merge branch 'tinyxml2.dmh' of https://github.com/DennisHeimbigner/netcdf-c into gh2170.wif 2022-03-29 11:31:31 -06:00
nccrc.h
ncdap.h
ncdimscale.h
ncdispatch.h fixed parallel functions for netcdf-fortran build 2022-04-24 05:41:14 -06:00
ncexhash.h
ncexternl.h
nchashmap.h
nchttp.h Enhance/Fix filter support 2022-03-14 12:39:37 -06:00
ncindex.h
ncjson.h Allow the read/write of JSON-valued Zarr attributes. 2022-04-06 18:22:59 -06:00
nclist.h Significantly Improve Amazon S3 Cloud Storage Support 2021-09-27 18:36:33 -06:00
nclog.h 1. Fix an additional flaw in fill_value handling where non-atomic default values were not properly being handled. 2022-01-10 15:27:16 -07:00
ncmodel.h
ncoffsets.h Fix various problem around VLEN's 2022-01-08 18:30:00 -07:00
ncpathmgr.h Support MSYS2/Mingw platform 2021-12-23 22:18:56 -07:00
ncrc.h Make public a limited API for programmatic access to internal .rc tables 2022-06-17 14:35:12 -06:00
ncs3sdk.h Get signature of NC_s3sdk*ize correct 2021-11-26 13:59:10 -07:00
nctestserver.h restore 2022-04-29 12:36:33 -06:00
nctime.h
ncuri.h Add complete bitgroom support to NCZarr 2022-01-24 15:22:24 -07:00
ncurlmodel.h
ncutf8.h
ncxcache.h
ncxml.h Fix dll exports for ncxml 2022-04-12 19:16:58 +10:00
netcdf_aux.h Fix various problem around VLEN's 2022-01-08 18:30:00 -07:00
netcdf_dispatch.h.in Enhance/Fix filter support 2022-03-14 12:39:37 -06:00
netcdf_f.h
netcdf_filter_build.h Support installation of filters into user-specified location 2022-04-29 14:31:55 -06:00
netcdf_filter_hdf5_build.h Enhance/Fix filter support 2022-03-14 12:39:37 -06:00
netcdf_filter.h added netcdf_filter.h to doxygen build 2022-05-04 13:12:48 -06:00
netcdf_json.h Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
netcdf_mem.h
netcdf_meta.h.in added BENCHMARKS to the summary 2022-04-26 06:18:52 -06:00
netcdf_par.h
netcdf.h Make public a limited API for programmatic access to internal .rc tables 2022-06-17 14:35:12 -06:00
onstack.h
rnd.h
XGetopt.h