1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7<title>Parse</title>
8  </head>
9  <body>
10<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/boss/Overview.html">boss</a>::<a href="../../../nn/boss/NsaList/Overview.html">NsaList</a>::Parse</CODE> Member Function</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14<a href="../../../nn/boss/NsaList/ParseResult.html">ParseResult</a> Parse(
15     <a href="../../../nn_types/u32.html">u32</a> * pOutParseCount,
16     <a href="../../../nn/boss/NsaList/NsaInformation/Overview.html">NsaInformation</a> pNsaInformationArray[],
17     <a href="../../../nn_types/u32.html">u32</a> nsaInformationArraySize,
18     void * pWorkBuf,
19     size_t workBufSize,
20     <a href="../../../nn_types/u32.html">u32</a> nsaFirstPos = 0
21);
22</pre>
23    </div>
24<h2>Parameters</h2>
25    <div class="section">
26      <table class="arguments">
27        <thead>
28          <tr>
29            <td width="15" />
30<th>Name</th>
31<td>Description</td>
32          </tr>
33        </thead>
34        <tr>
35<td>out</td>
36<th><CODE>pOutParseCount</CODE></th>
37<td>Stores the number of instances of NSA information parsed.</td>
38        </tr>
39        <tr>
40<td>out</td>
41<th><CODE>pNsaInformationArray[]</CODE></th>
42<td>An array that stores NSA information.</td>
43        </tr>
44        <tr>
45<td>in</td>
46<th><CODE>nsaInformationArraySize</CODE></th>
47<td>The number of elements in <CODE>pNsaInformationArray</CODE>.</td>
48        </tr>
49        <tr>
50<td>in</td>
51<th><CODE>pWorkBuf</CODE></th>
52<td>The work buffer used when loading a file to be parsed.</td>
53        </tr>
54        <tr>
55<td>in</td>
56<th><CODE>workBufSize</CODE></th>
57<td>The size of <CODE>pWorkBuf</CODE>. (An error results if a value smaller than <CODE>256</CODE> is set. The larger the size of the file in question, the more tha parsing speeed depends on the size of the work buffer.)</td>
58        </tr>
59        <tr>
60<td>in</td>
61<th><CODE>nsaFirstPos</CODE></th>
62<td>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 <CODE>pNsaInformationArray</CODE> arrays containing only a few elements.)</td>
63        </tr> </table>
64    </div>
65<h2>Return Values</h2>
66<div class="section">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 <CODE>0</CODE> if all information could be retrieved up to the end. Returns a negative value if retrieval failed.) </div>
67<h2>Description</h2>
68    <div class="section">
69<p>Parses the NSA list and stores each NSA information found in an array.</p><p>This function parses the NSA list that is downloaded after the <a href="../../../nn/boss/NsaList/Download.html"><CODE>NsaList::Download</CODE></a> function is run. This can also parse a remaining NSA list that was downloaded earlier.</p><!-- write here --></div>
70<h2>Revision History</h2>
71    <div class="section">
72      <dl class="history">
73        <dt>2011/10/27</dt>
74<dd>Initial version.<br />
75        </dd>
76      </dl>
77    </div>
78  <hr><p>CONFIDENTIAL</p></body>
79</html>