12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- #ifndef foortkithfoo
- #define foortkithfoo
- #include <sys/types.h>
- #include <dbus/dbus.h>
- #ifdef __cplusplus
- extern "C" {
- #endif
- #define RTKIT_SERVICE_NAME "org.freedesktop.RealtimeKit1"
- #define RTKIT_OBJECT_PATH "/org/freedesktop/RealtimeKit1"
- int rtkit_make_realtime(DBusConnection *system_bus, pid_t thread, int priority)
- int rtkit_make_high_priority(DBusConnection *system_bus, pid_t thread, int nice_level)
- int rtkit_get_max_realtime_priority(DBusConnection *system_bus)
- int rtkit_get_min_nice_level(DBusConnection *system_bus, int* min_nice_level)
- long long rtkit_get_rttime_usec_max(DBusConnection *system_bus)
- #ifdef __cplusplus
- }
- #endif
- #endif
|