add_onlyv


Description:

public void add_onlyv (Attributes attrs, ulong[] only_types)

Add the attributes with the types in only_types from attrs to the builder.

The attributes are added uncondititionally whether or not attributes with the same types already exist in the builder.

```c // Add the CKA_ID and CKA_CLASS attributes from attrs to builder gulong only[] = { CKA_ID, CKA_CLASS }; gck_builder_add_onlyv (builder, attrs, only, 2); ```

As an optimization, the attribute memory values are automatically shared between the attributes and the builder.

Parameters:

this

the builder

attrs

the attributes to add

only_types

the types of attributes to add

n_only_types

the number of attributes




2022 vala-language.org