This function is exported by the panopticon shared library. It supplies function pointers to the other Panopticon functions. When you call KVPanopticonGetInterface(), it assigns the function pointers to the structure pointed to by panopticonInterface.
KVPanopticonError KVPanopticonGetInterface(KVPanopticonInterface* const panopticonInterface);
panopticonInterface
|
A pointer to the structure KVPanopticonInterface. You must initialize the KVStructHead structure by using the macro |
If the function was successful, it returns KVP_Success. Otherwise, it returns a KVPanopticonError value describing the problem.
When you load this function from the Panopticon shared library, you can use the typedef KV_PANOPTICON_GET_INTERFACE, which is provided in panopticon.h.