The SEDRIS Data Representation Model
APPENDIX D - Functions
SE AddTokenToSet
extern SE_DRM_Status_Code
SE_AddTokenToSet
(
SE_Token_Set *token_set_ptr, (notes)
SE_DRM_Type drm_type, (notes)
SE_Integer value (notes)
);

Definition

Adds the given Token to the given Token Set.


Returns

SE_DRM_STAT_CODE_SUCCESS and the token is added to the given Token Set, if valid parameters were passed in.
SE_DRM_STAT_CODE_NULL_REQUIRED_PARAMETER and no changes are made, if token_set_ptr was NULL.
SE_DRM_STAT_CODE_FAILURE and no changes are made, if drm_type or value is invalid.


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_Integer) to be added


Next: SE_AllocCharacterArray. Up:Index.

Last updated: May 15, 2003 Copyright © 2003 SEDRIS™