Returns a pointer to the registered library's data area.
#include <library.h> void *get_app_data ( int lib_id);
(IN) Specifies the ID of the registered library.
Returns a valid pointer if successful. Otherwise, it returns zero.
get_app_data returns a pointer to the calling applications' internal data (as used by the registered library).
Call get_app_data first to determine if a data area has been allocated for the calling application. If zero is returned, allocate the necessary data structures and record their pointers by calling set_app_data.
For sample code, see Library.c.