removed STD archeus, moved console and ssh into linux folder. also added libdbus

This commit is contained in:
herbglitch 2025-02-08 02:15:23 -07:00
parent 119d1b2c64
commit 8fe402e04e
27 changed files with 622 additions and 145 deletions

View file

@ -0,0 +1,55 @@
#ifndef ARC_DBUS_HELPER_H_
#define ARC_DBUS_HELPER_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include <dbus/dbus.h>
/**
* @brief
*/
typedef struct ARC_DBus ARC_DBus;
/**
* @brief
*
* @param[in] dbus
* @param[in] interface
* @param[in] objectPath
*/
void ARC_DBusHelper_BusRequestName(ARC_DBus *dbus, const char *interface, const char *objectPath);
/**
* @brief
*
* @param[in] dbus
* @param[in] interface
* @param[in] objectPath
* @param[in] member
*/
void ARC_DBusHelper_BusAddMatch(ARC_DBus *dbus, const char *interface, const char *objectPath, const char *member);
/**
* @brief
*
* @param[in] message
*/
void ARC_DBusHelper_HandleSignal(DBusMessage *message);
/**
* @brief
*
* @param[in] dictonaryIter
* @param[in] stringKey
* @param[in] varientStringValue
*/
void ARC_DBusHelper_AddStringVarientStringToMessageIterDictionary(DBusMessageIter *dictonaryIter, const char *stringKey, const char *varientStringValue);
#ifdef __cplusplus
}
#endif
#endif // !ARC_DBUS_HELPER_H_