GsPropListRead - geostan_1 - 2024.01

GeoStan Geocoding Suite Reference for Windows, Linux, and z/OS

Product type
Software
Portfolio
Locate
Product family
GeoStan Geocoding Suite
Product
GeoStan Geocoding Suite > GeoStan
Version
2024.01
Language
English
Product name
GeoStan
Title
GeoStan Geocoding Suite Reference for Windows, Linux, and z/OS
Copyright
2024
First publish date
1994
Last updated
2024-07-29
Published on
2024-07-29T23:01:18.924000

Reads the property list from a file or character string.

Syntax

GsFunStat GsPropListRead(Proplist* pProps, gs_const_str infile, gs_const_str pBuffer);

Arguments

pProps    Pointer to property list structure. Output.

infile    File containing the list properties, or NULL. Input.

pBuffer   String buffer containing the properties to read if infile is NULL. Input.

Return Values

GS_ERROR

GS_SUCCESS

Prerequisites

GsPropListCreate()

Notes

If the infile argument value is "stdin", then this function reads the properties from standard in. If the infile argument is NULL, then this function reads the properties from the pBuffer string.

Example

GsFunStat retval;
PropList findProps;
retval = GsPropListCreate(&findProps, GS_FIND_PROP_LIST_TYPE);
retval = GsPropListRead(&findProps, "testprop.txt", NULL);