Change Config Object Value (QzuiChangeConfigObject) API
In the IBM® HTTP Server for i, use the QzuiChangeConfigObject() API to change the value portion of a scope or directive.
Required Parameter Group: | |||
1 | cfg | Input | Binary(4) |
2 | object | Input | Binary(4) |
3 | value | Input | Char(*) |
4 | value_size | Input | Binary(4) |
5 | errcode | I/O | Char(*) |
Threadsafe: Yes |
The value is considered anything after the keyword. For example, in the directive ″BrowserMatch Mozilla/2 nokeepalive″, the keyword is ″BrowserMatch″ and the value is ″Mozilla/2 nokeepalive″.
Authorities and locks
None.
Required parameter group
- cfg
- INPUT:BINARY(4)
Handle to the config.
- object
- INPUT:BINARY(4)
Handle to the scope or directive to be changed.
- value
- INPUT:CHAR(*)
New value for the object.
- value_size
- INPUT:BINARY(4)
Size of value.
- errcode
- I/O:CHAR(*)
Error information structure.
Error messages
- CPF3C17 E
- Error occurred with input data parameter.
- CPF3CF1 E
- Error code parameter not valid.
- HTPA001 E
- Input parameter &1 not valid.
- HTPA106 E
- Input configuration handle not valid.
- HTPA121 E
- Object handle in parameter &1 not valid.
- HTPA125 E
- Value &1 not valid for keyword &2.