Contains information about a settable parameter.
#include <netware.h> typedef struct { void *link; void *value; rtag_t rTag; char *name; uint8_t type; uint8_t flags; uint8_t category; uint8_t reserved; unsigned long lower_limit; unsigned long upper_limit; void (*callback)( uint32_t oldValue ); char *description; unsigned short msg_namenum; unsigned short msg_descnum; } settableparms_t;
Initialize this field to NULL and do not modify it; it is reserved for internal use.
Points to the memory location where the value for the parameter, either a string or a long, is stored. The size depends upon the type field.
Contains the handle of the resource tag allocated for this parameter. Use SettableParameterSignature for the signature when creating the resource tag. See AllocateResourceTag.
Points to the name of the settable parameter. The parameter name is an ASCII string, which can contain spaces.
Specifies the type of data contained in the value field. For possible values, see Section 30.5, Settable Parameter Types.
Specifies when and who can modify the parameter. For possible values, see Section 30.4, Settable Parameter Flags.
Specifies the category in which the parameter is listed. To return the name of the category, use ScanSettableParameters.
Reserved. Set it to 0.
Contains the lowest valid value for the parameter, if appropriate for the parameter type. Otherwise, set it to 0.
Contains the highest valid value for the parameter, if appropriate for the parameter type. Otherwise, set it to 0.
Contains the name of a function to call when the parameter's value is set. This is optional and can be set to NULL.
Points to a string which describes the settable parameter.
Contains the number from the message file that corresponds to the parameter's name. This can be 0 if you are not localizing your messages.
Contains the number from the message file that corresponds to the parameter's description. This can be 0 if you are not localizing your messages.
The DeRegisterSettableParameter and RegisterSettableParameter functions use this structure.