nlDisable, nlEnable

disable or enable NL properties

C Specification

NLboolean nlDisable(NLenum name)

NLboolean nlEnable(NLenum name)

Parameters

name

[in]Specifies the name of the property.

Description

nlDisable and nlEnable disable and enable the property specified by name. It can be one of the following:

NL_BLOCKING_IO : If enabled, all socket calls will block until completed. The default is disabled.

NL_SOCKET_STATS : If enabled, socket read/write statistics will be collected. The default is disabled.

NL_BIG_ENDIAN_DATA : If enabled, nlSwap calls will swap to big endian order if needed. The default is enabled.

NL_LITTLE_ENDIAN_DATA : If enabled, nlSwap calls will swap to littlwe endian order if needed. The default is disabled.

Return values

NL_TRUE if no error occurs, otherwise NL_FALSE, and the specific error code can be retrieved by calling nlGetError

Error codes

NL_INVALID_ENUM : The property name is not valid.

See also

nlGetBoolean,
nlSwap


Back to the HawkNL index page


Go directly to the main HawkNL page at Hawk Software

© 2000-2002 Phil Frisbie.

Valid XHTML 1.0!