7#ifndef POINTER_CONVERTER_H
8#define POINTER_CONVERTER_H
34 memset(&pointers_, 0,
sizeof(pointers_));
47 memset(&pointers_, 0,
sizeof(pointers_));
64 return (pointers_.dlsym_ptr);
71 return (pointers_.callout_ptr);
78 return (pointers_.load_ptr);
85 return (pointers_.unload_ptr);
92 return (pointers_.version_ptr);
99 return (pointers_.multi_threading_compatible_ptr);
Local class for conversion of void pointers to function pointers.
PointerConverter(void *dlsym_ptr)
Constructor.
multi_threading_compatible_function_ptr multiThreadingCompatiblePtr() const
Return pointer to multi_threading_compatible function.
PointerConverter(CalloutPtr callout_ptr)
Constructor.
load_function_ptr load_ptr
version_function_ptr version_ptr
unload_function_ptr unloadPtr() const
Return pointer to unload function.
version_function_ptr versionPtr() const
Return pointer to version function.
void * dlsymPtr() const
Return pointer returned by dlsym call.
CalloutPtr calloutPtr() const
Return pointer to callout function.
load_function_ptr loadPtr() const
Return pointer to load function.
unload_function_ptr unload_ptr
multi_threading_compatible_function_ptr multi_threading_compatible_ptr
int(* CalloutPtr)(CalloutHandle &)
Typedef for a callout pointer. (Callouts must have "C" linkage.)
Defines the logger used by the top-level component of kea-lfc.