Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

[PATCH] lockdownd_stop_session / session_id

#94

Here are two patches that will do the following:

0002: Removes the session_id parameter from lockdownd_stop_session as it is cached in the client struct anyway. This patch will change the public API function lockdownd_stop_session, but the API will change soon, see ticket #89 Provide access to ValidatePair for discussion.
0003: This one will make session_id a pointer instead of a static buffer in the client struct. It's allocated anyway when it is retrieved from the plist sent by the device.

Don't wonder about the numbering, I made them in a set with the patches in ticket #89 Provide access to ValidatePair.

Reported by Nikias Bassen · December 7th, 2009 @ 06:46 PM

State: resolved
Milestone: 1.0 Release
Assigned to: Matt Colyer Matt Colyer

Activity

  1. Matt Colyer
    Matt Colyer
    • State changed from open to resolved

    (from [ea45a41a7987ab1d05e2160ce831d2fcff695077]) better handling of session_id

    This will change session_id out of the lockdownd_client_int struct
    to a pointer instead of using a buffer of fixed size. The session_id is
    allocated anyway by libplist when reading it from the plist received
    from the device, so why don't just use it?

    [#94 [PATCH] lockdownd_stop_session / session_id state:resolved]

    Signed-off-by: Matt Colyer matt@colyer.name
    http://github.com/MattColyer/libiphone/commit/ea45a41a7987ab1d05e21...

    December 8th, 2009 @ 03:45 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.