2
0

qmp-helpers.h 924 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * QMP command helpers
  3. *
  4. * Copyright (c) 2022 Red Hat Inc.
  5. *
  6. * Authors:
  7. * Markus Armbruster <armbru@redhat.com>
  8. *
  9. * This work is licensed under the terms of the GNU GPL, version 2. See
  10. * the COPYING file in the top-level directory.
  11. */
  12. #ifndef MONITOR_QMP_HELPERS_H
  13. bool qmp_add_client_spice(int fd, bool has_skipauth, bool skipauth,
  14. bool has_tls, bool tls, Error **errp);
  15. #ifdef CONFIG_VNC
  16. bool qmp_add_client_vnc(int fd, bool has_skipauth, bool skipauth,
  17. bool has_tls, bool tls, Error **errp);
  18. #endif
  19. #ifdef CONFIG_DBUS_DISPLAY
  20. bool qmp_add_client_dbus_display(int fd, bool has_skipauth, bool skipauth,
  21. bool has_tls, bool tls, Error **errp);
  22. #endif
  23. bool qmp_add_client_char(int fd, bool has_skipauth, bool skipauth,
  24. bool has_tls, bool tls, const char *protocol,
  25. Error **errp);
  26. #endif