mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 19:41:16 +00:00
virdbus: Make virDBusCall static
This commit is contained in:
parent
3e8699d324
commit
709f2455cc
@ -1148,7 +1148,6 @@ virCryptoHashString;
|
|||||||
|
|
||||||
|
|
||||||
# util/virdbus.h
|
# util/virdbus.h
|
||||||
virDBusCall;
|
|
||||||
virDBusCallMethod;
|
virDBusCallMethod;
|
||||||
virDBusCloseSystemBus;
|
virDBusCloseSystemBus;
|
||||||
virDBusCreateMethod;
|
virDBusCreateMethod;
|
||||||
|
@ -1404,7 +1404,8 @@ int virDBusCreateReply(DBusMessage **reply,
|
|||||||
*
|
*
|
||||||
* Returns 0 on success, or -1 upon error
|
* Returns 0 on success, or -1 upon error
|
||||||
*/
|
*/
|
||||||
int virDBusCall(DBusConnection *conn,
|
static int
|
||||||
|
virDBusCall(DBusConnection *conn,
|
||||||
DBusMessage *call,
|
DBusMessage *call,
|
||||||
DBusMessage **replyout,
|
DBusMessage **replyout,
|
||||||
DBusError *error)
|
DBusError *error)
|
||||||
@ -1694,16 +1695,6 @@ int virDBusCreateReply(DBusMessage **reply ATTRIBUTE_UNUSED,
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int virDBusCall(DBusConnection *conn ATTRIBUTE_UNUSED,
|
|
||||||
DBusMessage *call ATTRIBUTE_UNUSED,
|
|
||||||
DBusMessage **reply ATTRIBUTE_UNUSED,
|
|
||||||
DBusError *error ATTRIBUTE_UNUSED)
|
|
||||||
{
|
|
||||||
virReportError(VIR_ERR_INTERNAL_ERROR,
|
|
||||||
"%s", _("DBus support not compiled into this binary"));
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int virDBusCallMethod(DBusConnection *conn ATTRIBUTE_UNUSED,
|
int virDBusCallMethod(DBusConnection *conn ATTRIBUTE_UNUSED,
|
||||||
DBusMessage **reply ATTRIBUTE_UNUSED,
|
DBusMessage **reply ATTRIBUTE_UNUSED,
|
||||||
DBusError *error ATTRIBUTE_UNUSED,
|
DBusError *error ATTRIBUTE_UNUSED,
|
||||||
|
@ -68,10 +68,6 @@ int virDBusCallMethod(DBusConnection *conn,
|
|||||||
const char *iface,
|
const char *iface,
|
||||||
const char *member,
|
const char *member,
|
||||||
const char *types, ...);
|
const char *types, ...);
|
||||||
int virDBusCall(DBusConnection *conn,
|
|
||||||
DBusMessage *call,
|
|
||||||
DBusMessage **reply,
|
|
||||||
DBusError *error);
|
|
||||||
int virDBusMessageRead(DBusMessage *msg,
|
int virDBusMessageRead(DBusMessage *msg,
|
||||||
const char *types, ...);
|
const char *types, ...);
|
||||||
void virDBusMessageUnref(DBusMessage *msg);
|
void virDBusMessageUnref(DBusMessage *msg);
|
||||||
|
Loading…
Reference in New Issue
Block a user