GetCtlReadValues traverses the CONFLIST array looking for a Group, Func and Index match. If a match is found the LabelPnt and DescPnt from the CONFLIST record are used to formulate a query to dbman for the current value of the parameter. The request is posted to dbman and GetCtlReadValues waits for an answer and places the answer in the CONFLIST record’s Current field.
GetCtlReadValues uses lclReqParAns(3rmt) to communicate with dbman. lclReqParAns(3rmt) waits for an answer from dbman so GetCtlReadValues should be used on a file descripter where nothing has been subscribed to.
Usually programs using this function will open two channels to dbman. One channel is used to post subscriptions and process data asyncronously from dbman as it arrives. The other channel is used with functions which will post requests to dbman for information and wait for the answer.
If there is an error when lclReqParAns(3rmt) is called an error message is written to stderr.
This function communicates with dbman in local mode.
This function is part of libmngr.
If there is no match 0 is returned.