Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libplist
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pwn
libplist
Commits
20d10800
Commit
20d10800
authored
Aug 17, 2008
by
Jonathan Beck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use iphone_* instead of iph_*
parent
31323f08
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
37 deletions
+37
-37
libiphone.h
include/libiphone/libiphone.h
+37
-37
No files found.
include/libiphone/libiphone.h
View file @
20d10800
...
@@ -29,60 +29,60 @@ extern "C" {
...
@@ -29,60 +29,60 @@ extern "C" {
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
struct
iph_device_int
;
struct
iph
one
_device_int
;
typedef
iph
_device_int
*
iph
_device_t
;
typedef
iph
one_device_int
*
iphone
_device_t
;
struct
iph_lckd_client_int
;
struct
iph
one
_lckd_client_int
;
typedef
iph
_lckd_client_int
*
iph
_lckd_client_t
;
typedef
iph
one_lckd_client_int
*
iphone
_lckd_client_t
;
struct
iph_umux_client_int
;
struct
iph
one
_umux_client_int
;
typedef
iph
_umux_client_int
*
iph
_umux_client_t
;
typedef
iph
one_umux_client_int
*
iphone
_umux_client_t
;
struct
iph_afc_client_int
;
struct
iph
one
_afc_client_int
;
typedef
iph
_afc_client_int
*
iph
_afc_client_t
;
typedef
iph
one_afc_client_int
*
iphone
_afc_client_t
;
struct
iph_afc_file_int
;
struct
iph
one
_afc_file_int
;
typedef
iph
_afc_file_int
*
iph
_afc_file_t
;
typedef
iph
one_afc_file_int
*
iphone
_afc_file_t
;
//device related functions
//device related functions
int
iph
_get_device
(
iph
_device_t
*
device
);
int
iph
one_get_device
(
iphone
_device_t
*
device
);
void
iph
_free_device
(
iph
_device_t
device
);
void
iph
one_free_device
(
iphone
_device_t
device
);
//lockdownd related functions
//lockdownd related functions
int
iph
_lckd_new_client
(
iph_device_t
device
,
iph
_lckd_client_t
*
client
);
int
iph
one_lckd_new_client
(
iphone_device_t
device
,
iphone
_lckd_client_t
*
client
);
void
iph
_lckd_free_client
(
iph
_lckd_client_t
client
);
void
iph
one_lckd_free_client
(
iphone
_lckd_client_t
client
);
int
iph
_lckd_start_service
(
iph
_lckd_client_t
client
,
const
char
*
service
);
int
iph
one_lckd_start_service
(
iphone
_lckd_client_t
client
,
const
char
*
service
);
int
iph
_lckd_recv
(
iph
_lckd_client_t
client
,
char
**
dump_data
);
int
iph
one_lckd_recv
(
iphone
_lckd_client_t
client
,
char
**
dump_data
);
int
iph
_lckd_send
(
iph
_lckd_client_t
client
,
char
*
raw_data
,
uint32_t
length
);
int
iph
one_lckd_send
(
iphone
_lckd_client_t
client
,
char
*
raw_data
,
uint32_t
length
);
//usbmux related functions
//usbmux related functions
int
iph
_mux_new_client
(
iph_device_t
device
,
uint16_t
src_port
,
uint16_t
dst_port
,
iph
_umux_client_t
*
client
);
int
iph
one_mux_new_client
(
iphone_device_t
device
,
uint16_t
src_port
,
uint16_t
dst_port
,
iphone
_umux_client_t
*
client
);
void
iph
_mux_free_client
(
iph
_umux_client_t
client
);
void
iph
one_mux_free_client
(
iphone
_umux_client_t
client
);
int
iph
_mux_send
(
iph
_umux_client_t
client
,
const
char
*
data
,
uint32_t
datalen
);
int
iph
one_mux_send
(
iphone
_umux_client_t
client
,
const
char
*
data
,
uint32_t
datalen
);
int
iph
_mux_recv
(
iph
_umux_client_t
client
,
char
*
data
,
uint32_t
datalen
);
int
iph
one_mux_recv
(
iphone
_umux_client_t
client
,
char
*
data
,
uint32_t
datalen
);
//afc related functions
//afc related functions
int
iph
_afc_new_client
(
iph_device_t
device
,
int
src_port
,
int
dst_port
,
iph
_afc_client_t
*
client
);
int
iph
one_afc_new_client
(
iphone_device_t
device
,
int
src_port
,
int
dst_port
,
iphone
_afc_client_t
*
client
);
void
iph
_afc_free_client
(
iph
_afc_client_t
client
);
void
iph
one_afc_free_client
(
iphone
_afc_client_t
client
);
char
**
iph
_afc_get_devinfo
(
iph
_afc_client_t
client
);
char
**
iph
one_afc_get_devinfo
(
iphone
_afc_client_t
client
);
char
**
iph
_afc_get_dir_list
(
iph
_afc_client_t
client
,
const
char
*
dir
);
char
**
iph
one_afc_get_dir_list
(
iphone
_afc_client_t
client
,
const
char
*
dir
);
int
iph
_afc_get_file_attr
(
iph
_afc_client_t
client
,
const
char
*
filename
,
struct
stat
*
stbuf
);
int
iph
one_afc_get_file_attr
(
iphone
_afc_client_t
client
,
const
char
*
filename
,
struct
stat
*
stbuf
);
int
iph
_afc_open_file
(
iph_afc_client_t
client
,
const
char
*
filename
,
uint32
file_mode
,
iph
_afc_file_t
*
file
);
int
iph
one_afc_open_file
(
iphone_afc_client_t
client
,
const
char
*
filename
,
uint32
file_mode
,
iphone
_afc_file_t
*
file
);
void
iph
_afc_close_file
(
iph_afc_client_t
client
,
iph
_afc_file_t
file
);
void
iph
one_afc_close_file
(
iphone_afc_client_t
client
,
iphone
_afc_file_t
file
);
int
iph
_afc_read_file
(
iph_afc_client_t
client
,
iph
_afc_file_t
file
,
char
*
data
,
int
length
);
int
iph
one_afc_read_file
(
iphone_afc_client_t
client
,
iphone
_afc_file_t
file
,
char
*
data
,
int
length
);
int
iph
_afc_write_file
(
iph_afc_client_t
client
,
iph
_afc_file_t
file
,
const
char
*
data
,
int
length
);
int
iph
one_afc_write_file
(
iphone_afc_client_t
client
,
iphone
_afc_file_t
file
,
const
char
*
data
,
int
length
);
int
iph
_afc_seek_file
(
iph_afc_client_t
client
,
iph
_afc_file_t
file
,
int
seekpos
);
int
iph
one_afc_seek_file
(
iphone_afc_client_t
client
,
iphone
_afc_file_t
file
,
int
seekpos
);
int
iph
_afc_truncate_file
(
iph_afc_client_t
client
,
iph
_afc_file_t
file
,
uint32
newsize
);
int
iph
one_afc_truncate_file
(
iphone_afc_client_t
client
,
iphone
_afc_file_t
file
,
uint32
newsize
);
int
iph
_afc_delete_file
(
iph
_afc_client_t
client
,
const
char
*
path
);
int
iph
one_afc_delete_file
(
iphone
_afc_client_t
client
,
const
char
*
path
);
int
iph
_afc_rename_file
(
iph
_afc_client_t
client
,
const
char
*
from
,
const
char
*
to
);
int
iph
one_afc_rename_file
(
iphone
_afc_client_t
client
,
const
char
*
from
,
const
char
*
to
);
int
iph
_afc_mkdir
(
iph
_afc_client_t
client
,
const
char
*
dir
);
int
iph
one_afc_mkdir
(
iphone
_afc_client_t
client
,
const
char
*
dir
);
#ifdef __cplusplus
#ifdef __cplusplus
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment