Skip to main content

moq_origin_announced_info

Function moq_origin_announced_info 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn moq_origin_announced_info( announced: u32, dst: *mut moq_announced, ) -> i32
Expand description

Query information about a broadcast discovered by moq_origin_announced.

The destination is filled with the broadcast information. The path pointer borrows the announcement’s storage: copy it out before calling moq_origin_announced_free, which invalidates it.

Returns a zero on success, or a negative code on failure.

§Safety

  • The caller must ensure that dst is a valid pointer to a moq_announced struct.