Lines Matching refs:interface
71 char *interface;
93 * the interface's errors enumeration. */
95 /* interface (protocol) in which the error occurred */
96 const struct wl_interface *interface;
169 * \param intf protocol interface
203 display->protocol_error.interface = intf;
328 proxy_create(struct wl_proxy *factory, const struct wl_interface *interface,
338 proxy->object.interface = interface;
349 /** Create a proxy object with a given interface
352 * \param interface Interface the proxy object should use
355 * This function creates a new proxy object with the supplied interface. The
369 wl_proxy_create(struct wl_proxy *factory, const struct wl_interface *interface)
375 proxy = proxy_create(factory, interface, factory->version);
384 uint32_t id, const struct wl_interface *interface)
393 proxy->object.interface = interface;
492 * interface to allow the identification of which code to execute.
545 const struct wl_interface *interface, uint32_t version)
559 new_proxy = proxy_create(proxy, interface, version);
576 * \param interface The interface to use for the new proxy
578 * This function translates a request given an opcode, an interface and a
597 const struct wl_interface *interface)
600 args, interface,
610 * \param interface The interface to use for the new proxy
633 const struct wl_interface *interface,
642 message = &proxy->object.interface->methods[opcode];
643 if (interface) {
645 args, interface,
692 wl_argument_from_va_list(proxy->object.interface->methods[opcode].signature,
703 * \param interface The interface to use for the new proxy
707 * This function translates a request given an opcode, an interface and extra
710 * method associated with the opcode in the interface.
723 const struct wl_interface *interface, ...)
728 va_start(ap, interface);
729 wl_argument_from_va_list(proxy->object.interface->methods[opcode].signature,
734 args, interface);
742 * \param interface The interface to use for the new proxy
761 const struct wl_interface *interface,
768 wl_argument_from_va_list(proxy->object.interface->methods[opcode].signature,
773 args, interface,
807 const struct wl_interface *interface;
811 proxy->object.interface->name,
816 interface = proxy->object.interface;
822 interface = NULL;
825 display_protocol_error(display, code, object_id, interface);
943 display->proxy.object.interface = &wl_display_interface;
1239 message = &proxy->object.interface->events[opcode];
1795 * \param interface if not NULL, stores the interface where the error occurred,
1801 * \return The error code as defined in the interface specification.
1807 * code = wl_display_get_protocol_error(display, &interface, &id);
1808 * handle_error(code, interface, id);
1817 const struct wl_interface **interface,
1826 if (interface)
1827 *interface = display->protocol_error.interface;
1943 /** Get the interface name (class) of a proxy object
1946 * \return The interface name of the object associated with the proxy
1953 return proxy->object.interface->name;
2040 wrapper->object.interface = wrapped_proxy->object.interface;