mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-07 05:25:25 +00:00
1a07c2efb3
This API is merely a convenience API, i.e. when managing clients connected to daemon's servers, we should know (convenience) which server the specific client is connected to. This implies a client-side representation of a server along with a basic API to let the administrating client know what servers are actually available on the daemon. Signed-off-by: Erik Skultety <eskultet@redhat.com> Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
28 lines
805 B
C
28 lines
805 B
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;
|
|
};
|
|
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,
|
|
};
|