</p>
<h3>Interaction with driver</h3>
<p>
- Fuction <b>msa_module->send(xmlDocPtr request, xmlDocPtr* response, const struct msa_module* info)</b> is used to perform requests to the driver.
+ Function <b>msa_module->send(xmlDocPtr request, xmlDocPtr* response, const struct msa_module* info)</b> is used to perform requests to the driver.
Parameter <i>request</i> is a request in XML format. Description of structure of sending and receiveing data is described <a>here</a>.
Parameter <i>response</i> contains driver response in XML format.
Function <b>msa_module_get_info(struct msa_module* d)</b> is used to get information about driver (driver name and icon).
</pre>
<h3>Driver interface</h3>
- <p>MySocials driver interface described in <b>msa_module</b> structure. Some of the fields of this stucture are filled before initialization by application (marked with **), the rest of it is filled during initialization.</p>
+ <p>MySocials driver interface described in <b>msa_module</b> structure. Some of the fields of this structure are filled before initialization by application (marked with **), the rest of it is filled during initialization.</p>
<pre class="c" style="font-family:monospace;"><span style="color: #993333;">struct</span> msa_module <span style="color: #009900;">{</span>
gchar <span style="color: #339933;">*</span>id<span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Identifier </span>
<li><i>noAuthorize</i> - flag which forbids driver to call WebAuth (optional, set to false by default) </li>
<li><i>class</i> - class which includes called function</li>
<li><i>function</i> - name of the function</li>
- <li><i>Params</i> - set of parameters, stricly defined for each function</li>
+ <li><i>Params</i> - set of parameters, strictly defined for each function</li>
</ul>
<h4>Response format</h4>
</pre>
<ul>
- <li><i>authorized</i> - flag which indicates authorization during request performing (flag isn't set if error occures during request performing) </li>
+ <li><i>authorized</i> - flag which indicates authorization during request performing (flag isn't set if error occurs during request performing) </li>
<li><i>upload</i> - number of bytes sent to server</li>
<li><i>download</i> - number of bytes received from server</li>
</ul>