Important: The information in this document is obsolete and should not be used for new development.
Action Flags
Thereqparameter to theOTOptionManagementfunction contains aflagsfield that you set to specify what action the function should take. The constant names that you can specify for this field are given by the following enumeration:
enum { T_NEGOTIATE = 0x004, T_CHECK = 0x008, T_DEFAULT = 0x010, T_CURRENT = 0x080, };Constant descriptions
T_NEGOTIATE- Negotiate the option values specified in the
opt.buffield of thereqparameter.- The overall result of the negotiation is specified by the
flagsfield of theretparameter. Theopt.buffield of theretparameter points to a buffer where negotiated values for each option are placed.T_CHECK- Verify whether the endpoint supports the options referenced by the
opt.buffield of thereqparameter.- The overall result of the verification is specified by the
flagsfield of theretparameter. Specific verification results are returned in theopt.buffield of theretparameter.T_DEFAULT- Retrieve the default value for those options in the buffer referenced by the
req->opt.buffield. To retrieve default values for all the options supported by an endpoint, include just the optionT_ALLOPTin the options buffer.- Option values are returned in the
opt.buffield of theretparameter.T_CURRENT- Retrieve the current value for those options that the endpoint supports and that are specified in the buffer referenced by the
req->opt.buffield. To retrieve current values for all the options that an endpoint supports, include just the optionT_ALLOPTin the options buffer.- Option values are returned in the
opt.buffield of theretparameter.