empty-server.h 917 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /* SCANNER TEST */
  2. #ifndef EMPTY_SERVER_PROTOCOL_H
  3. #define EMPTY_SERVER_PROTOCOL_H
  4. #include <stdint.h>
  5. #include <stddef.h>
  6. #include "wayland-server.h"
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. struct wl_client;
  11. struct wl_resource;
  12. /**
  13. * @page page_empty The empty protocol
  14. * @section page_ifaces_empty Interfaces
  15. * - @subpage page_iface_empty -
  16. */
  17. struct empty;
  18. #ifndef EMPTY_INTERFACE
  19. #define EMPTY_INTERFACE
  20. /**
  21. * @page page_iface_empty empty
  22. * @section page_iface_empty_api API
  23. * See @ref iface_empty.
  24. */
  25. /**
  26. * @defgroup iface_empty The empty interface
  27. */
  28. extern const struct wl_interface empty_interface;
  29. #endif
  30. /**
  31. * @ingroup iface_empty
  32. * @struct empty_interface
  33. */
  34. struct empty_interface {
  35. /**
  36. */
  37. void (*empty)(struct wl_client *client,
  38. struct wl_resource *resource);
  39. };
  40. /**
  41. * @ingroup iface_empty
  42. */
  43. #define EMPTY_EMPTY_SINCE_VERSION 1
  44. #ifdef __cplusplus
  45. }
  46. #endif
  47. #endif