pub unsafe extern "C-unwind" fn OBEXAddNameHeader(
name: Option<&CFString>,
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 name: name 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.
Name header - OBEX Spec, 2.2.2: (2-byte) Null terminated unicode string.