pub unsafe extern "C-unwind" fn OBEXAddCountHeader(
count: u32,
dict_ref: Option<&CFMutableDictionary>,
) -> OBEXErrorAvailable on crate features
OBEX and objc2-core-foundation only.Expand description
Add a CFStringRef to a dictionary of OBEXheaders.
Parameter count: Count value you want to add to the OBEX header dictionary.
Parameter dictRef: dictionary you have allocated to hold the headers. Make sure it’s mutable.
Returns: Error code, kOBEXSuccess (0) if success.
Count header - OBEX Spec, 2.2.1: 4 byte unsigned integer
§Safety
dict_refgenerics must be of the correct type.dict_refmight not allowNone.