Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F7988897
pcmk-dbus.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
pcmk-dbus.h
View Options
/*
* Copyright 2014-2020 the Pacemaker project contributors
*
* The version control history for this file may have further details.
*
* This source code is licensed under GNU Lesser General Public License
* version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
*/
#ifndef PCMK_DBUS__H
# define PCMK_DBUS__H
# include <dbus/dbus.h>
# ifndef DBUS_TIMEOUT_USE_DEFAULT
# define DBUS_TIMEOUT_USE_DEFAULT -1
# endif
G_GNUC_INTERNAL
DBusConnection *pcmk_dbus_connect(void);
G_GNUC_INTERNAL
void pcmk_dbus_disconnect(DBusConnection *connection);
G_GNUC_INTERNAL
DBusPendingCall *pcmk_dbus_send(DBusMessage *msg, DBusConnection *connection,
void(*done)(DBusPendingCall *pending, void *user_data), void *user_data, int timeout);
G_GNUC_INTERNAL
DBusMessage *pcmk_dbus_send_recv(DBusMessage *msg, DBusConnection *connection, DBusError *error, int timeout);
G_GNUC_INTERNAL
bool pcmk_dbus_type_check(DBusMessage *msg, DBusMessageIter *field, int expected, const char *function, int line);
G_GNUC_INTERNAL
char *pcmk_dbus_get_property(
DBusConnection *connection, const char *target, const char *obj, const gchar * iface, const char *name,
void (*callback)(const char *name, const char *value, void *userdata), void *userdata,
DBusPendingCall **pending, int timeout);
G_GNUC_INTERNAL
bool pcmk_dbus_find_error(DBusPendingCall *pending, DBusMessage *reply,
DBusError *error);
#endif /* PCMK_DBUS__H */
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sat, Oct 25, 2:00 AM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2606580
Default Alt Text
pcmk-dbus.h (1 KB)
Attached To
Mode
rP Pacemaker
Attached
Detach File
Event Timeline
Log In to Comment