Contents

OBEXAddUserDefinedHeader(_:_:_:)

Add a user-defined custom header to a dictionary of OBEXheaders.

Declaration

func OBEXAddUserDefinedHeader(_ inHeaderData: UnsafeRawPointer!, _ inHeaderDataLength: UInt32, _ dictRef: CFMutableDictionary!) -> OBEXError

Parameters

  • inHeaderData:

    Bytes you want to put in the user-defined header.

  • inHeaderDataLength:

    Length of the bytes you want to put in user-defined header.

  • dictRef:

    Dictionary you have allocated to hold the headers. Make sure it’s mutable.

Return Value

Error code, kOBEXSuccess (0) if success.

Discussion

User Defined header - OBEX Spec, 2.2.20: User Defined Headers.

See Also

Miscellaneous