NjxInit Function

Description

This function initializes iWnn variables. Always call this function when starting to use iWnn and after changing dictionary sets.

Syntax

#include <mw/iwnn/iwnnCTR.h>

s16 NjxInit(
     IWNN_CLASS* iwnn,                            // Parsing information class
     const IWNN_OPTION* option                    // Option setting
);

Arguments

NameDescription
IN / OUT IWNN_CLASS* iwnn Parsing information class. An error results if NULL is specified.
IN const IWNN_OPTION* option Option setting. Stores settings specified for the parsing information class using this function.
The default value is set for the parsing information class if NULL is specified.

Return Value

s16 Non-negative value: Normal exit
Negative value: Error

Error Code Description of Error
NJ_ERR_PARAM_ENVIRONMENT_NULL A NULL pointer was specified for iwnn

CONFIDENTIAL