Type Alias esp_idf_sys::httpd_uri_match_func_t
source · pub type httpd_uri_match_func_t = Option<unsafe extern "C" fn(reference_uri: *const c_char, uri_to_match: *const c_char, match_upto: usize) -> bool>;
Expand description
@brief Function prototype for URI matching.
@param[in] reference_uri URI/template with respect to which the other URI is matched
@param[in] uri_to_match URI/template being matched to the reference URI/template
@param[in] match_upto For specifying the actual length of uri_to_match
up to
which the matching algorithm is to be applied (The maximum
value is strlen(uri_to_match)
, independent of the length
of reference_uri
)
@return true on match
Aliased Type§
enum httpd_uri_match_func_t {
None,
Some(unsafe extern "C" fn(_: *const i8, _: *const i8, _: usize) -> bool),
}