VERS_4.0 {
	global:
		xs_open;
		xs_close;
		xs_daemon_open;
		xs_domain_open;
		xs_daemon_open_readonly;
		xs_daemon_close;
		xs_daemon_destroy_postfork;
		xs_directory;
		xs_read;
		xs_write;
		xs_mkdir;
		xs_rm;
		xs_restrict;
		xs_get_permissions;
		xs_set_permissions;
		xs_watch;
		xs_fileno;
		xs_check_watch;
		xs_read_watch;
		xs_unwatch;
		xs_transaction_start;
		xs_transaction_end;
		xs_introduce_domain;
		xs_set_target;
		xs_resume_domain;
		xs_release_domain;
		xs_get_domain_path;
		xs_path_is_subpath;
		xs_is_domain_introduced;
		xs_control_command;
		xs_debug_command;
		xs_suspend_evtchn_port;
		xs_daemon_rundir;
		xs_daemon_socket;
		xs_daemon_socket_ro;
		xs_write_all;
		xs_strings_to_perms;
	local: *; /* Do not expose anything by default */
};
VERS_4.1 {
	global:
		xs_get_features_supported;
		xs_get_features_domain;
		xs_set_features_domain;
} VERS_4.0;
VERS_4.2 {
	global:
		xs_get_quota_names;
		xs_get_global_quota;
		xs_set_global_quota;
		xs_get_domain_quota;
		xs_set_domain_quota;
		xs_watch_depth;
		xs_watch_try_depth;
} VERS_4.1;
