|
DC_TAG_HANDLE dc_tag_add |
( |
char const * |
tag_name, |
|
|
void * |
tag_context |
|
) |
| |
Add a tag to the DataCenter.
- Parameters
-
[in] | tag_name | Specify the name of the tag you want to add to the DataCenter, if an exist tag in the DataCenter has the same name with the tag adding, then this function will return error and no new tag will be added to the DataCenter. |
[in] | tag_context | The context related to the tag added, it will be passed by the read or write callback function. |
- Returns
- On success, a valid tag handle is returned, otherwise NULL is returned.
- Examples:
- dc_tag_owner.c, and dc_tag_update.c.
|