mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-28 00:25:23 +00:00
b9a3ce95ce
It does not have a suffix ByName because there are no other means of looking up the server and since the name is known, this should be the preferred one. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
36 lines
1.0 KiB
C
36 lines
1.0 KiB
C
/* -*- c -*- */
|
|
struct admin_nonnull_server {
|
|
admin_nonnull_string name;
|
|
};
|
|
struct admin_connect_open_args {
|
|
u_int flags;
|
|
};
|
|
struct admin_connect_get_lib_version_ret {
|
|
uint64_t libVer;
|
|
};
|
|
struct admin_connect_list_servers_args {
|
|
u_int need_results;
|
|
u_int flags;
|
|
};
|
|
struct admin_connect_list_servers_ret {
|
|
struct {
|
|
u_int servers_len;
|
|
admin_nonnull_server * servers_val;
|
|
} servers;
|
|
u_int ret;
|
|
};
|
|
struct admin_connect_lookup_server_args {
|
|
admin_nonnull_string name;
|
|
u_int flags;
|
|
};
|
|
struct admin_connect_lookup_server_ret {
|
|
admin_nonnull_server srv;
|
|
};
|
|
enum admin_procedure {
|
|
ADMIN_PROC_CONNECT_OPEN = 1,
|
|
ADMIN_PROC_CONNECT_CLOSE = 2,
|
|
ADMIN_PROC_CONNECT_GET_LIB_VERSION = 3,
|
|
ADMIN_PROC_CONNECT_LIST_SERVERS = 4,
|
|
ADMIN_PROC_CONNECT_LOOKUP_SERVER = 5,
|
|
};
|