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);