#[unsafe(no_mangle)]pub unsafe extern "C" fn webui_render_component_templates(
protocol_data: *const u8,
protocol_len: usize,
component_tags_json: *const c_char,
inventory_hex: *const c_char,
) -> *mut c_charExpand description
Render templates and CSS for specific components by tag name.
Returns a JSON string with { templates, templateStyles, cssHrefs, inventory }.
The caller must free the returned string with webui_free.
ยงSafety
All pointer arguments must be valid, non-null, null-terminated UTF-8 strings.
protocol_data must point to protocol_len readable bytes.
component_tags_json must be a JSON array of strings, e.g. ["settings-dialog"].