Aw callback

From ActiveWiki
Jump to navigation Jump to search


Minimum requirements
Added in version 2.1
SDKbuild 13


void (*aw_callback (AW_CALLBACK c)) (int rc)

Description

Returns the callback handler for an asynchronous call.

Callback

None (returns immediately)

Arguments

c
Callback (defined in Aw.h)

Argument attributes

None

Return values

Pointer
Pointer to the callback handler.
NULL
If no callback handler is installed. Or if the callback was invalid.

Returned attributes

None

Usage

if (aw_callback (AW_CALLBACK_ADDRESS))
  printf ("A callback handler is installed for looking up IP addresses\n");
else
  printf ("No callback handler is installed for looking up IP addresses\n");

See also