Kicking it Olde Sküül! Burgerlib on Github Follow Olde Sküül on Twitter Burgerbecky on LinkedIn Burgerbecky on LinkedIn
Loading...
Searching...
No Matches
Functions
Burger::Unix::DBus Namespace Reference

Shim to call the posix/unix dbus library. More...

Functions

eError BURGER_API init (void) BURGER_NOEXCEPT
 Initialize the dbus library.
 
void BURGER_API shutdown (void) BURGER_NOEXCEPT
 Shut down the dbus library.
 

Detailed Description

Shim to call the posix/unix dbus library.


Many Posix based systems contain a shared library called dbus. This shim will automatically load in the library if needed and if present, will forward calls to the library through a set of shims.

This way, high level code can call has_dbus() to determine if the library is present, and if so, use the functions within.

Note
DBus is NOT not included in Burgerlib. It must be installed separately. This shim exists because if this reason.
See also
has_dbus()

Function Documentation

◆ init()

Burger::eError BURGER_API Burger::Unix::DBus::init ( void )
extern

Initialize the dbus library.


If the file libdbus-1.so.3 exists, load it in and remap all function pointers to the functions within the library. DO NOT CALL ANY DBUS FUNCTIONS BEFORE INITIALIZATION!

See also
shutdown(), Unix::has_dbus()

◆ shutdown()

void BURGER_API Burger::Unix::DBus::shutdown ( void )
extern

Shut down the dbus library.


If the dbus library was loaded, this function will unload it and set all the function pointers to nullptr. DO NOT CALL ANY DBUS FUNCTIONS AFTER CALLING THIS FUNCTION!

See also
init(), Unix::has_dbus()