1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
.help cqgqparn Mar00 "Catquery Package"
.ih
NAME
cqgqparn -- get the query parameter description by sequence number
.ih
SYNOPSIS
parno = cq_gqparn (cq, parno, qpname, max_qpname, qpvalue, max_qpvalue, qpunits,
max_qpunits, qpformat, max_qpformat)
.nf
pointer cq # the configuration file descriptor
int parno # the query parameter sequence number
char qpname # the returned query parameter name
int max_qpname # the maximum size of the returned parameter name
char qpvalue # the returned query parameter value
int max_qpvalue # the maximum size of the returned parameter value
char qpunits # the returned query parameter units
int max_qpunits # the maximum size of the returned parameter units
char qpformat # the returned query parameter format
int max_qpformat # the maximum size of the returned parameter format
.fi
.ih
ARGUMENTS
.ls cq
The configuration file descriptor.
.le
.ls parno
The query parameter sequence number.
.le
.ls qpname
The returned query parameter name.
.le
.ls max_qpname
The maximum size of the returned query parameter name.
.le
.ls qpvalue
The returned query parameter value.
.le
.ls max_qpvalue
The maximum size of the returned query parameter value.
.le
.ls qpunits
The returned query parameter units.
.le
.ls max_qpunits
The maximum size of the returned query parameter units.
.le
.ls qpformat
The returned query parameter format.
.le
.ls max_qpformat
The maximum size of the returned query parameter format.
.le
.ih
DESCRIPTION
Cq_gqparn returns the name, value, units, and format of the requested query
parameter by number. Cq_gparn is an integer function which returns the
sequence number of the query parameter as its function value. Zero is
returned if the requested query parameter is not found.
.ih
NOTES
Cq_setcat or cq_setcatn must be called before a query parameter
request can be made.
The defined constants CQ_SZ_QPNAME, CQ_SZ_QPVALUE, CQ_SZ_QPUNITS, and
CQ_SZ_QPFMTS in the cq.h file can be used to assign values to the
max_qpname, max_qpvalue, max_qpunits, and max_qpformat paramters.
.ih
SEE ALSO
cqnqpars, cqgqpar, cqsqpar, cqsqparn
.endhelp
|