netcdf-c/unit_test
Dennis Heimbigner 2133052c6e Simplify FORTRAN access to the new plugin path mechanism
The new plugin path API uses char** to represent
a variable lenght vector of variable length strings.
FORTRAN is not capable of accessing such structures.
So, this PR extends the API to provide a counted string-based
API to the plugin path functionality.

The new functions are inserted in the netcdf_aux.h/daux.c files.
The new functions are just wrappers around other plugin path API
function; they are just (I hope) more convenient for FORTRAN users.

The new functions are as follows:

### *ncaux_plugin_path_stringlen(void)*
* Return the length (as in strlen) of the current plugin path directories encoded as a string. Return -1 if the request fails.

### *int ncaux_plugin_path_stringget(int pathlen, char* path)*
* Get the current sequence of directories in the internal global plugin path list encoded as a string path using ';' as a path separator. As an example, it might return "/a/b/c;/home/user/me;/tmp". The arguments are as follows:
    * *pathlen* -- the length of the path argument.
    * *path* -- a string into which the current plugin path as a string is stored.
* Return NC_NOERR | NC_EINVAL

### *int ncaux_plugin_path_stringset(int pathlen, const char* path)*
* Set the current sequence of directories in the internal global plugin path list. As an example, it might take "/a/b/c;/home/user/me;/tmp". The arguments are as follows:
    * *pathlen* -- the length of the path argument.
    * *path* -- a string that is parsed to obtain the sequence of directories for the current plugin path.
* Return NC_NOERR | NC_EINVAL
2024-11-30 17:07:13 -07:00
..
aws_config.c ckp 2024-09-30 14:39:48 -06:00
CMakeLists.txt ckp 2024-09-30 14:39:48 -06:00
Makefile.am Simplify FORTRAN access to the new plugin path mechanism 2024-11-30 17:07:13 -07:00
ncpluginpath.c Extend the netcdf API to support programmatic changes to the plugin search path 2024-10-18 19:23:59 -06:00
nctest_netcdf4_classic.nc Support MSYS2/Mingw platform 2021-12-23 22:18:56 -07:00
reclaim_tests.cdl Improve performance of the nc_reclaim_data and nc_copy_data functions. 2023-05-20 17:11:25 -06:00
ref_get.txt ckp 2024-09-30 14:39:48 -06:00
ref_set.txt ckp 2024-09-30 14:39:48 -06:00
ref_xget.txt Simplify FORTRAN access to the new plugin path mechanism 2024-11-30 17:07:13 -07:00
ref_xset.txt Simplify FORTRAN access to the new plugin path mechanism 2024-11-30 17:07:13 -07:00
run_aws_config.sh ckp 2024-09-30 14:39:48 -06:00
run_dfaltpluginpath.sh Extend the netcdf API to support programmatic changes to the plugin search path 2024-10-18 19:23:59 -06:00
run_pluginpaths.sh Simplify FORTRAN access to the new plugin path mechanism 2024-11-30 17:07:13 -07:00
run_reclaim_tests.sh Improve performance of the nc_reclaim_data and nc_copy_data functions. 2023-05-20 17:11:25 -06:00
run_s3sdk.sh Update path in s3sdk shell script unit test. 2023-10-16 14:30:43 -06:00
test_ncuri.c Test inferred S3 url rebuild 2024-07-09 13:45:40 +02:00
test_pathcvt.c Extend the netcdf API to support programmatic changes to the plugin search path 2024-10-18 19:23:59 -06:00
test_s3sdk.c Merged in current state of https://github.com/Unidata/netcdf-c/pulls/2741 2023-09-29 15:05:43 -06:00
timer_utils.c Additional Fixes to NCZarr 2020-12-16 20:48:02 -07:00
timer_utils.h Make use of clock_gettime be conditional. 2020-12-06 18:19:53 -07:00
tst_exhash.c Fix warnings in unit_test 2024-03-12 16:13:41 +00:00
tst_nc4internal.c Change (again), and hopefully simplify, the file model inference algorithm. 2019-09-29 12:59:28 -06:00
tst_nclist.c fixed warning 2020-03-02 16:29:52 -07:00
tst_pluginpaths.c Simplify FORTRAN access to the new plugin path mechanism 2024-11-30 17:07:13 -07:00
tst_reclaim.c Improve performance of the nc_reclaim_data and nc_copy_data functions. 2023-05-20 17:11:25 -06:00
tst_xcache.c Fix warnings in unit_test 2024-03-12 16:13:41 +00:00