This sample program contains two files, ex_alib.c and ex_amain.c, which demonstrate how to write an asynchronous layer on top of Client-Library. It uses hooks provided by Client-Library to allow seamless polling and use of Client-Library’s completion callbacks.
The sample program is composed of two files:
ex_alib.c contains the source code to the library portion of the example. It is meant to be part of a library interface which supports asynchronous calls. This module provides a means of sending a query to and retrieving the results from a server within one asynchronous operation.
ex_amain.c contains the source code to the main program that uses the services provided by ex_alib.c.
For more information about this sample program, see the leading comments in the example source file and the EX_AREAD.ME file.