TutOptionSetBool set the value of a boolean option
option
option to set
bool_val
boolean value to set option to
TRUE
if value is set successfully, FALSE
otherwise.
If TutOptionSetBool fails, it returns FALSE
and sets the global SmartSockets error number to one of:
TutOptionSetBool sets the boolean value of option
to bool_val
.
None
This example sets the value of the option named bool_opt
to TRUE
:
T_OPTION bool_opt; bool_opt = TutOptionLookup("bool_opt"); if (bool_opt == NULL) {/* error */
} if (!TutOptionSetBool(bool_opt, TRUE)) {/* error */
}
TIBCO SmartSockets™ Utilities Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |