Provide dlopen() path searching hook to senseApi libs
This commit is contained in:
@@ -457,13 +457,18 @@ static smo::sense_api::SenseApiDesc xcbXorgApiDesc =
|
||||
* its name, the implexors it exports, and the management operations it
|
||||
* supports.
|
||||
*
|
||||
* @param callbacks Hooks provided by Salmanoff for library operations
|
||||
* @return A reference to the SenseApiDesc structure describing the API.
|
||||
*/
|
||||
extern SMO_UNMANGLED smo::sense_api::SMO_GET_SENSE_API_DESC_FN_TYPEDEF
|
||||
SMO_GET_SENSE_API_DESC_FN_NAME;
|
||||
SMO_GET_SENSE_API_DESC_FN_NAME;
|
||||
|
||||
const smo::sense_api::SenseApiDesc &SMO_GET_SENSE_API_DESC_FN_NAME(void)
|
||||
static const smo::sense_api::SalmanoffCallbacks* xcbXorg_callbacks = nullptr;
|
||||
|
||||
const smo::sense_api::SenseApiDesc &SMO_GET_SENSE_API_DESC_FN_NAME(
|
||||
const smo::sense_api::SalmanoffCallbacks& callbacks)
|
||||
{
|
||||
xcbXorg_callbacks = &callbacks;
|
||||
return xcbXorgApiDesc;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user