moq_origin_consume

Function moq_origin_consume 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn moq_origin_consume( origin: u32, path: *const c_char, path_len: usize, ) -> i32
Expand description

Consume a broadcast from an origin by path.

Returns a non-zero handle to the broadcast on success, or a negative code on failure.

ยงSafety

  • The caller must ensure that path is a valid pointer to path_len bytes of data.