 |
PK_GROUP_ask_controls_r_t |
|
struct PK_GROUP_ask_controls_r_s
{
int n_int_arrays; --- number of int arrays
PK_int_array_t *int_arrays; --- int arrays
};
typedef struct PK_GROUP_ask_controls_r_s PK_GROUP_ask_controls_r_t;
This structure contains information about the controls on the group.
Used in:
PK_GROUP_ask_controls
PK_GROUP_ask_controls_r_f
Description of fields:
'n_int_arrays' This is the length of the array 'int_arrays'. This can be
either 1 or 3.
'int_arrays' This is an array of PK_int_array_t structures containing the
information about the group controls.
The first of these is a PK_int_array_t containing an array
of length 5. The contents of this array are as follows:
Element 0: This is the 'membership' control. Its
value is of type PK_GROUP_membership_t.
Element 1: This is the 'split_empty' control. Its value
is of type PK_GROUP_split_t.
Element 2: This is the 'merge_empty' control. Its value
is of type PK_GROUP_merge_t.
Element 3: This is the 'merge_populated' control. Its
value is of type PK_GROUP_merge_t.
Element 4: This is the 'delete_dependants' control. Its
value is of type PK_GROUP_dependants_t.
If the group does not have controls on the minimum
contents, then this is the only array and
'n_int_arrays' is 1.
If the group does have controls on the minimum
contents, then there are 2 further arrays and
'n_int_arrays' is 3. These arrays are of equal
length. The second array in 'int_arrays' lists
the labels for which the minimum contents apply
and the third lists the corresponding minimum
counts.