Parse

nn::boss::NsaList::Parse Member Function

Syntax

ParseResult Parse(
     u32 * pOutParseCount,
     NsaInformation pNsaInformationArray[],
     u32 nsaInformationArraySize,
     void * pWorkBuf,
     size_t workBufSize,
     u32 nsaFirstPos = 0
);

Parameters

Name Description
out pOutParseCount Stores the number of instances of NSA information parsed.
out pNsaInformationArray[] An array that stores NSA information.
in nsaInformationArraySize The number of elements in pNsaInformationArray.
in pWorkBuf The work buffer used when loading a file to be parsed.
in workBufSize The size of pWorkBuf. (An error results if a value smaller than 256 is set. The larger the size of the file in question, the more tha parsing speeed depends on the size of the work buffer.)
in nsaFirstPos The first position in the list for getting NSA information. (This does not need to be specified when retrieving all elements from the start. Use this specification when you want to gather NSA information by executing this API multiple times using pNsaInformationArray arrays containing only a few elements.)

Return Values

Returns the position of the next NSA information in the list for NSA information that could be retrieved (that is, the start position of NSA information that could not be retrieved). Returns 0 if all information could be retrieved up to the end. Returns a negative value if retrieval failed.)

Description

Parses the NSA list and stores each NSA information found in an array.

This function parses the NSA list that is downloaded after the NsaList::Download function is run. This can also parse a remaining NSA list that was downloaded earlier.

Revision History

2011/10/27
Initial version.

CONFIDENTIAL