VIRT_AddResultTag

Adds the specified tag to the results buffer. (This function also adds the angle brackets, an optional end tag indicator, and new line characters).

Service:VFS

Syntax

#include <nssPubs.h>

STATUS VIRT_AddResultTag (
   VirtInfo_s  *virtInfo,
   utf8_t      *tagName,
   BOOL         endTag,
   BOOL         newLine);

Parameters

virtInfo

Points to the structure that is passed in and updated.

tagName

Points to the NULL-terminated tag name to be added.

endTag

Specifies if the end tag slash should be added to the tag:

  • TRUE Add the end tag slash
  • FALSE Do not add the end tag slash
newLine

Specifies if a new line character should be added to the result buffer:

  • TRUE Add a new line character
  • FALSE Do not add a new line character

Return Values

The return status should either be zOK or a valid NSS error code.