Aw callback

From ActiveWiki
Revision as of 16:16, 31 October 2008 by Macavity (talk | contribs) (Added in, cleanup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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