1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html xmlns="http://www.w3.org/1999/xhtml"> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" /> 5<meta http-equiv="Content-Style-Type" content="text/css" /> 6<title>WFS_InitClient</title> 7<link rel="stylesheet" href="../../css/nitro.css" type="text/css" /> 8</head> 9<body> 10 11<h1>WFS_InitClient <img src="../../image/NTR.gif"><img src="../../image/TWL.gif"></h1> 12<h2>Syntax</h2> 13 14<dl> 15 <dd> 16<code>#include <nitro/wfs.h></code><br /> 17 <br /> 18 <code>void WFS_InitClient(WFSClientContext *context, 19 void *userdata, <a href="../WFSEventCallback.html">WFSEventCallback</a> callback, <a href="../../mi/allocator/MIAllocator.html">MIAllocator</a> *allocator);</code><br /> 20 <br /> 21 </dd> 22</dl> 23<h2>Arguments</h2> 24<table border="1" width="100%"> 25 <tbody> 26 <tr> 27 <td style="width:13%"><em><strong>context</strong></em></td> 28 <td style="width:87%">Pointer to the <CODE>WFSClientContext</CODE> structure to be initialized</td> 29 </tr> 30 <tr> 31 <td style="width:13%"><em><strong>userdata</strong></em></td> 32 <td style="width:87%">Any user-defined value to be linked with the context</td> 33 </tr> 34 <tr> 35 <td style="width:13%"><em><strong>callback</strong></em></td> 36 <td style="width:87%">Callback function that receives event notifications from the WFS library.<br /> 37 Specify NULL if not needed.</td> 38 </tr> 39 <tr> 40 <td style="width:13%"><em><strong>allocator</strong></em></td> 41 <td style="width:87%">The allocator used internally by the library</td> 42 </tr> 43 </tbody> 44</table> 45<h2>Return Values</h2> 46<p>None.</p> 47 48<h2>Description</h2> 49<p>Initializes the WFS library child (client) context structure. This function must be called at least once before using the <CODE>WFSClientContext</CODE> structure. This function has absolutely no impact on the status of the OS or wireless communications because it only initializes the contents of the <CODE>WFSClientContext</CODE> structure.<BR> 50</p> 51 52<h2>See Also</h2> 53<p><code><a href="../WFSEventCallback.html">WFSEventCallback</a>, <br /> <a href="WFS_StartClient.html">WFS_StartClient</a>, <a href="WFS_EndClient.html">WFS_EndClient</a>, <a href="WFS_GetTableFormat.html">WFS_GetTableFormat</a>, <a href="WFS_RequestClientRead.html">WFS_RequestClientRead</a>, <a href="WFS_GetClientReadProgress.html">WFS_GetClientReadProgress</a>, <a href="WFS_CallClientConnectHook.html">WFS_CallClientConnectHook</a>, <a href="WFS_CallClientDisconnectHook.html">WFS_CallClientDisconnectHook</a>, <a href="WFS_CallClientPacketSendHook.html">WFS_CallClientPacketSendHook</a>, <a href="WFS_CallClientPacketRecvHook.html">WFS_CallClientPacketRecvHook</a> <br /></code></p> 54 55<h2>Revision History</h2> 56<p> 572007/06/06 Initial version. 58</p> 59<hr><p>CONFIDENTIAL</p></body> 60</html> 61