pub unsafe extern "C" fn ffurl_handshake(c: *mut URLContext) -> c_int
Expand description
Perform one step of the protocol handshake to accept a new client. See avio_handshake() for details. Implementations should try to return decreasing values. If the protocol uses an underlying protocol, the underlying handshake is usually the first step, and the return value can be: (largest value for this protocol) + (return value from other protocol)
@param c the client context @return >= 0 on success or a negative value corresponding to an AVERROR code on failure