Function Name: Add Token To Set

Definition

Adds the given Token to the given Token Set.

Returns

SE_TRUE - if the Token was successfully added to the Token Set

SE_FALSE - if the Token could not be added, either because the pointer to the Token Set was NULL, or because the value was not a valid Token value to add to a Token Set

Prototype


extern SE_BOOLEAN
SE_AddTokenToSet
(
SE_TOKEN_SET *token_set_ptr, (notes)
SE_DRM_TYPE_ENUM drm_type, (notes)
SE_INT32 value (notes)
);

Parameters Notes

token_set_ptr

 a pointer to the Token Set to be modified

drm_type

 identifies the type from which the Token is obtained

value

 the Token (cast to an SE_INT32) to be added

Next: Clear Token Set. Up:Index.