To set global data structures within the application, use the following C functions to access the data structure:
void setUserImpactData(void* pData)
void *getUserImpactData()
void clearUserImpactData()
You must create a data structure around the global data (data to be made available to another C code) and use corresponding type casting when accessing the data using the functions defined above. If the data is dynamically allocated, you are responsible for clean up. clearUserImpactData() does not perform deallocation.
The plug-in class also provides and supports eight utility
functions: GetCwd(), ChangeCwd(), Access(), Open(), FileOpen(), Unlink(), Stat(),
and erm().
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |