[PATCH] lockdownd_stop_session / session_id
Reported by Nikias Bassen | December 7th, 2009 @ 06:46 PM | in 1.0 Release
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 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.
Comments and changes to this ticket
-
Matt Colyer December 8th, 2009 @ 03:45 AM
- 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 state:resolved]
Signed-off-by: Matt Colyer matt@colyer.name
http://github.com/MattColyer/libiphone/commit/ea45a41a7987ab1d05e21...
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A project around supporting the iPhone in Linux.
See http://libimobiledevice.org
People watching this ticket
Attachments
Referenced by
- 89 Provide access to ValidatePair OK, here I have some great patches. Two of them are not d...
- 94 [PATCH] lockdownd_stop_session / session_id [#94 state:resolved]