|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <callback_adapter.h>
One native-owned matching rule for an HTTP header transform.
kind is one mln_resource_kind value or MLN_ADAPTER_RESOURCE_KIND_ANY. The flags field is a bitwise OR of mln_adapter_url_match_flags values choosing how url compares against the complete transformed URL. A null url or an unknown flag bit makes the rule match nothing.
The first matching rule supplies its complete header list. Every pointer is borrowed and must outlive the registration.