Contents

OBEXAddAuthorizationChallengeHeader(_:_:_:)

Add an authorization challenge header to a dictionary of OBEXheaders.

Declaration

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

Parameters

  • inHeaderData:

    Bytes you want to put in the authorization challenge header.

  • inHeaderDataLength:

    Length of the bytes you want to put in authorization challenge header.

  • dictRef:

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

Return Value

Error code, kOBEXSuccess (0) if success.

Discussion

Authorization Challenge header - OBEX Spec, 2.2.13: Authorization Challenge.

See Also

Miscellaneous