File: Trf_SetObjOption.html

package info (click to toggle)
tcltrf 2.1.4-dfsg3-8
  • links: PTS
  • area: main
  • in suites: sid, trixie
  • size: 9,656 kB
  • sloc: ansic: 73,139; sh: 3,155; tcl: 1,343; makefile: 182; exp: 22
file content (113 lines) | stat: -rw-r--r-- 3,043 bytes parent folder | download | duplicates (7)
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!WARNING! THIS FILE WAS GENERATED AUTOMATICALLY BY c2man!
<!DO NOT EDIT! CHANGES MADE TO THIS FILE WILL BE LOST!
<header>
<title>Trf_SetObjOption - Interface to procedures to define the value of an option.</title>
</header>
<body>
<h1>NAME</h1>
Trf_SetObjOption - Interface to procedures to define the value of an option.
<h1>SYNOPSIS</h1>
<pre>#include &lt;transform.h&gt;

int Trf_SetObjOption
(
	Trf_Options options,
	Tcl_Interp *interp,
	const char *optname,
	const Tcl_Obj *optvalue,
	ClientData clientData
);
</pre>
<h1>PARAMETERS</h1>
<dl><dt>
Trf_Options options<dd>
Container to place the value into.
<dt>
Tcl_Interp *interp<dd>
Interpreter for error messages
(NULL possible).
<dt>
const char *optname<dd>
Name of option to define.
<dt>
const Tcl_Obj *optvalue<dd>
Value to set into the container.
<dt>
ClientData clientData<dd>
Arbitrary information, as defined in
Trf_TypeDefinition.clientData.
</dl>
<h1>DESCRIPTION</h1>
The procedure takes the specified optionname (rejecting
illegal ones) and places the given optionvalue into the
container. All necessary conversions from a Tcl_Obj to the
required type should be done here. Return value is a standard
tcl error code. In case of failure and interp not NULL an
error message should be left in the result area of the
specified interpreter. This procedure makes sense for tcl
version 8 and above only.
<h1>SEE ALSO</h1>
<a href=Trf_Init.html>Trf_Init</a>
,
<a href=Trf_SafeInit.html>Trf_SafeInit</a>
,
<a href=Trf_IsInitialized.html>Trf_IsInitialized</a>
,
<a href=Trf_CreateOptions.html>Trf_CreateOptions</a>
,
<a href=Trf_DeleteOptions.html>Trf_DeleteOptions</a>
,
<a href=Trf_CheckOptions.html>Trf_CheckOptions</a>
,
<a href=Trf_SetOption.html>Trf_SetOption</a>
,
<a href=Trf_QueryOptions.html>Trf_QueryOptions</a>
,
<a href=Trf_SeekQueryOptions.html>Trf_SeekQueryOptions</a>
,
<a href=Trf_WriteProc.html>Trf_WriteProc</a>
,
<a href=Trf_CreateCtrlBlock.html>Trf_CreateCtrlBlock</a>
,
<a href=Trf_DeleteCtrlBlock.html>Trf_DeleteCtrlBlock</a>
,
<a href=Trf_TransformCharacter.html>Trf_TransformCharacter</a>
,
<a href=Trf_TransformBuffer.html>Trf_TransformBuffer</a>
,
<a href=Trf_FlushTransformation.html>Trf_FlushTransformation</a>
,
<a href=Trf_ClearCtrlBlock.html>Trf_ClearCtrlBlock</a>
,
<a href=Trf_QueryMaxRead.html>Trf_QueryMaxRead</a>
,
<a href=Trf_Register.html>Trf_Register</a>
,
<a href=Trf_ConverterOptions.html>Trf_ConverterOptions</a>
,
<a href=Trf_MDStart.html>Trf_MDStart</a>
,
<a href=Trf_MDUpdate.html>Trf_MDUpdate</a>
,
<a href=Trf_MDUpdateBuf.html>Trf_MDUpdateBuf</a>
,
<a href=Trf_MDFinal.html>Trf_MDFinal</a>
,
<a href=Trf_MDCheck.html>Trf_MDCheck</a>
,
<a href=Trf_RegisterMessageDigest.html>Trf_RegisterMessageDigest</a>
,
<a href=Trf_LoadLibrary.html>Trf_LoadLibrary</a>
,
<a href=Trf_XorBuffer.html>Trf_XorBuffer</a>
,
<a href=Trf_ShiftRegister.html>Trf_ShiftRegister</a>
,
<a href=Trf_FlipRegisterShort.html>Trf_FlipRegisterShort</a>
,
<a href=Trf_FlipRegisterLong.html>Trf_FlipRegisterLong</a>
,
<a href=Trf_InitStubs.html>Trf_InitStubs</a>


</body>