提交 df032bab 编写于 作者: C Chris Lalancette

Fix up formatting of remote protocol stuff.

Signed-off-by: NChris Lalancette <clalance@redhat.com>
上级 fa30eaf3
...@@ -282,6 +282,14 @@ static int remoteDispatchDomainGetVcpus( ...@@ -282,6 +282,14 @@ static int remoteDispatchDomainGetVcpus(
remote_error *err, remote_error *err,
remote_domain_get_vcpus_args *args, remote_domain_get_vcpus_args *args,
remote_domain_get_vcpus_ret *ret); remote_domain_get_vcpus_ret *ret);
static int remoteDispatchDomainHasCurrentSnapshot(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
remote_message_header *hdr,
remote_error *err,
remote_domain_has_current_snapshot_args *args,
remote_domain_has_current_snapshot_ret *ret);
static int remoteDispatchDomainHasManagedSaveImage( static int remoteDispatchDomainHasManagedSaveImage(
struct qemud_server *server, struct qemud_server *server,
struct qemud_client *client, struct qemud_client *client,
...@@ -458,6 +466,14 @@ static int remoteDispatchDomainResume( ...@@ -458,6 +466,14 @@ static int remoteDispatchDomainResume(
remote_error *err, remote_error *err,
remote_domain_resume_args *args, remote_domain_resume_args *args,
void *ret); void *ret);
static int remoteDispatchDomainRevertToSnapshot(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
remote_message_header *hdr,
remote_error *err,
remote_domain_revert_to_snapshot_args *args,
void *ret);
static int remoteDispatchDomainSave( static int remoteDispatchDomainSave(
struct qemud_server *server, struct qemud_server *server,
struct qemud_client *client, struct qemud_client *client,
...@@ -522,22 +538,30 @@ static int remoteDispatchDomainSnapshotCreateXml( ...@@ -522,22 +538,30 @@ static int remoteDispatchDomainSnapshotCreateXml(
remote_error *err, remote_error *err,
remote_domain_snapshot_create_xml_args *args, remote_domain_snapshot_create_xml_args *args,
remote_domain_snapshot_create_xml_ret *ret); remote_domain_snapshot_create_xml_ret *ret);
static int remoteDispatchDomainSnapshotDumpXml( static int remoteDispatchDomainSnapshotCurrent(
struct qemud_server *server, struct qemud_server *server,
struct qemud_client *client, struct qemud_client *client,
virConnectPtr conn, virConnectPtr conn,
remote_message_header *hdr, remote_message_header *hdr,
remote_error *err, remote_error *err,
remote_domain_snapshot_dump_xml_args *args, remote_domain_snapshot_current_args *args,
remote_domain_snapshot_dump_xml_ret *ret); remote_domain_snapshot_current_ret *ret);
static int remoteDispatchDomainSnapshotNum( static int remoteDispatchDomainSnapshotDelete(
struct qemud_server *server, struct qemud_server *server,
struct qemud_client *client, struct qemud_client *client,
virConnectPtr conn, virConnectPtr conn,
remote_message_header *hdr, remote_message_header *hdr,
remote_error *err, remote_error *err,
remote_domain_snapshot_num_args *args, remote_domain_snapshot_delete_args *args,
remote_domain_snapshot_num_ret *ret); void *ret);
static int remoteDispatchDomainSnapshotDumpXml(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
remote_message_header *hdr,
remote_error *err,
remote_domain_snapshot_dump_xml_args *args,
remote_domain_snapshot_dump_xml_ret *ret);
static int remoteDispatchDomainSnapshotListNames( static int remoteDispatchDomainSnapshotListNames(
struct qemud_server *server, struct qemud_server *server,
struct qemud_client *client, struct qemud_client *client,
...@@ -554,38 +578,14 @@ static int remoteDispatchDomainSnapshotLookupByName( ...@@ -554,38 +578,14 @@ static int remoteDispatchDomainSnapshotLookupByName(
remote_error *err, remote_error *err,
remote_domain_snapshot_lookup_by_name_args *args, remote_domain_snapshot_lookup_by_name_args *args,
remote_domain_snapshot_lookup_by_name_ret *ret); remote_domain_snapshot_lookup_by_name_ret *ret);
static int remoteDispatchDomainHasCurrentSnapshot( static int remoteDispatchDomainSnapshotNum(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
remote_message_header *hdr,
remote_error *err,
remote_domain_has_current_snapshot_args *args,
remote_domain_has_current_snapshot_ret *ret);
static int remoteDispatchDomainSnapshotCurrent(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
remote_message_header *hdr,
remote_error *err,
remote_domain_snapshot_current_args *args,
remote_domain_snapshot_current_ret *ret);
static int remoteDispatchDomainRevertToSnapshot(
struct qemud_server *server,
struct qemud_client *client,
virConnectPtr conn,
remote_message_header *hdr,
remote_error *err,
remote_domain_revert_to_snapshot_args *args,
void *ret);
static int remoteDispatchDomainSnapshotDelete(
struct qemud_server *server, struct qemud_server *server,
struct qemud_client *client, struct qemud_client *client,
virConnectPtr conn, virConnectPtr conn,
remote_message_header *hdr, remote_message_header *hdr,
remote_error *err, remote_error *err,
remote_domain_snapshot_delete_args *args, remote_domain_snapshot_num_args *args,
void *ret); remote_domain_snapshot_num_ret *ret);
static int remoteDispatchDomainSuspend( static int remoteDispatchDomainSuspend(
struct qemud_server *server, struct qemud_server *server,
struct qemud_client *client, struct qemud_client *client,
......
...@@ -1967,6 +1967,7 @@ enum remote_procedure { ...@@ -1967,6 +1967,7 @@ enum remote_procedure {
REMOTE_PROC_DOMAIN_SNAPSHOT_LIST_NAMES = 188, REMOTE_PROC_DOMAIN_SNAPSHOT_LIST_NAMES = 188,
REMOTE_PROC_DOMAIN_SNAPSHOT_LOOKUP_BY_NAME = 189, REMOTE_PROC_DOMAIN_SNAPSHOT_LOOKUP_BY_NAME = 189,
REMOTE_PROC_DOMAIN_HAS_CURRENT_SNAPSHOT = 190, REMOTE_PROC_DOMAIN_HAS_CURRENT_SNAPSHOT = 190,
REMOTE_PROC_DOMAIN_SNAPSHOT_CURRENT = 191, REMOTE_PROC_DOMAIN_SNAPSHOT_CURRENT = 191,
REMOTE_PROC_DOMAIN_REVERT_TO_SNAPSHOT = 192, REMOTE_PROC_DOMAIN_REVERT_TO_SNAPSHOT = 192,
REMOTE_PROC_DOMAIN_SNAPSHOT_DELETE = 193 REMOTE_PROC_DOMAIN_SNAPSHOT_DELETE = 193
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册