 |
PK_ATTRIB_reset_cb_r_t |
|
struct PK_ATTRIB_reset_cb_r_s
{
PK_ATTRIB_reset_t status; --- return status of call
PK_ATTRIB_field_t field_type; --- field type of values
int n_values; --- length of array of values
PK_ATTRIB_field_values_t values; --- replacement contents for field
};
typedef struct PK_ATTRIB_reset_cb_r_s PK_ATTRIB_reset_cb_r_t;
This structure contains the new values (if required) for the contents
of the given field as specified by a callback function of type
PK_ATTRIB_reset_cb_f_t.
Used in:
PK_ATTRIB_reset_cb_f_t
Description of fields:
'status' specifies the return status of the call.
'field_type' specifies the field type of the contents of 'values'.
This must be the same as the original field type
passed to the callback.
'n_values' specifies the number of entries in values. This
must either be the same as the original number of
values, indicating that the array 'values'
contains new contents for the field, or zero,
indicating that the contents of the field should
not be changed.
'values' is an array of length 'n_values'. If 'status' is
PK_ATTRIB_reset_continue_c and 'n_values' is not
zero then the contents of this array will be
copied into the indicated field of the attribute.