D | dbus_new_introspect.c | 23 struct wpabuf *xml; member 40 iface->xml = wpabuf_alloc(6000); in add_interface() 41 if (iface->xml == NULL) { in add_interface() 45 wpabuf_printf(iface->xml, "<interface name=\"%s\">", dbus_interface); in add_interface() 52 static void add_arg(struct wpabuf *xml, const char *name, const char *type, in add_arg() argument 55 wpabuf_printf(xml, "<arg name=\"%s\"", name); in add_arg() 57 wpabuf_printf(xml, " type=\"%s\"", type); in add_arg() 59 wpabuf_printf(xml, " direction=\"%s\"", direction); in add_arg() 60 wpabuf_put_str(xml, "/>"); in add_arg() 64 static void add_entry(struct wpabuf *xml, const char *type, const char *name, in add_entry() argument [all …]
|