GsPropListCreate - 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

Creates and initializes a property list to contain GeoStan initialization, status, or find properties.

Syntax

GsFunStat GsPropListCreate (Proplist* pProps, PropListType type);

Arguments

pProps       Pointer to property list structure. Input and Output.

type       Type of property list. Input.

Return Values

GS_ERROR

GS_SUCCESS

Notes

This function creates/initializes a property list for use in GsInitWithProps() or GsFindWithProps(). Any property list created by this function needs to eventually be destroyed with GsPropListDestroy().

Example

GsFunStat retval;
PropList initProps;
PropList statusProps;
PropList findProps1;
PropList findProps2;
                         
/* For initialization of GeoStan */
GsPropListCreate(&initProps, GS_INIT_PROP_LIST_TYPE);
GsPropListCreate(&statusProps, GS_STATUS_PROP_LIST_TYPE);
                         
/* For standard property default preference */
retval = GsPropListCreate(&findProps1, GS_FIND_PROP_LIST_TYPE);
                         
/* For custom property default preference */
retval = GsPropListCreate(&findProps2, GS_FIND_PROP_LIST_TYPE);