2015-04-15 14:13:22 +00:00
|
|
|
/* -*- c -*- */
|
2015-08-13 14:20:27 +00:00
|
|
|
struct admin_nonnull_server {
|
|
|
|
admin_nonnull_string name;
|
|
|
|
};
|
2015-12-10 12:46:45 +00:00
|
|
|
struct admin_connect_open_args {
|
2015-04-15 14:13:22 +00:00
|
|
|
u_int flags;
|
|
|
|
};
|
2015-12-10 12:46:45 +00:00
|
|
|
struct admin_connect_get_lib_version_ret {
|
2015-10-05 15:17:51 +00:00
|
|
|
uint64_t libVer;
|
|
|
|
};
|
2015-08-14 07:17:01 +00:00
|
|
|
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;
|
|
|
|
};
|
2016-03-01 16:33:37 +00:00
|
|
|
struct admin_connect_lookup_server_args {
|
|
|
|
admin_nonnull_string name;
|
|
|
|
u_int flags;
|
|
|
|
};
|
|
|
|
struct admin_connect_lookup_server_ret {
|
|
|
|
admin_nonnull_server srv;
|
|
|
|
};
|
2015-04-15 14:13:22 +00:00
|
|
|
enum admin_procedure {
|
2015-12-10 12:46:45 +00:00
|
|
|
ADMIN_PROC_CONNECT_OPEN = 1,
|
|
|
|
ADMIN_PROC_CONNECT_CLOSE = 2,
|
|
|
|
ADMIN_PROC_CONNECT_GET_LIB_VERSION = 3,
|
2015-08-14 07:17:01 +00:00
|
|
|
ADMIN_PROC_CONNECT_LIST_SERVERS = 4,
|
2016-03-01 16:33:37 +00:00
|
|
|
ADMIN_PROC_CONNECT_LOOKUP_SERVER = 5,
|
2015-04-15 14:13:22 +00:00
|
|
|
};
|