# WFS_InitClient

## Syntax

  `#include <nitro/wfs.h>`
  `void WFS_InitClient(WFSClientContext *context, void *userdata, WFSEventCallback callback, MIAllocator *allocator);`

## Arguments

context | Pointer to the `WFSClientContext` structure to be initialized
userdata | Any user-defined value to be linked with the context
callback | Callback function that receives event notifications from the WFS library. Specify NULL if not needed.
allocator | The allocator used internally by the library

## Return Values

None.

## Description

Initializes the WFS library child (client) context structure. This function must be called at least once before using the `WFSClientContext` structure. This function has absolutely no impact on the status of the OS or wireless communications because it only initializes the contents of the `WFSClientContext` structure.

## See Also

`WFSEventCallback,
WFS_StartClient, WFS_EndClient, WFS_GetTableFormat, WFS_RequestClientRead, WFS_GetClientReadProgress, WFS_CallClientConnectHook, WFS_CallClientDisconnectHook, WFS_CallClientPacketSendHook, WFS_CallClientPacketRecvHook
`

## Revision History

2007/06/06 Initial version.

CONFIDENTIAL