OBEXAddApplicationParameterHeader

Function OBEXAddApplicationParameterHeader 

Source
pub unsafe extern "C-unwind" fn OBEXAddApplicationParameterHeader(
    in_header_data: *const c_void,
    in_header_data_length: u32,
    dict_ref: Option<&CFMutableDictionary>,
) -> OBEXError
Available on crate features OBEX and objc2-core-foundation only.
Expand description

Add bytes representing an application parameter to a dictionary of OBEX headers.

Parameter inHeaderData: Application parameter data - should be tag/length/value triplets.

Parameter inHeaderDataLength: Length of application parameter data.

Parameter dictRef: dictionary you have allocated to hold the headers. Make sure it’s mutable.

Returns: Error code, kOBEXSuccess (0) if success.

Application Request/Response Parameter headers - OBEX Spec, 2.2.11: Byte Sequence