From e1b22c51edd2c3b416d111a63e1a84ab3ba7817e Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Mon, 11 Aug 2008 22:32:01 +0200 Subject: first shot at setting up a library --- include/libiphone/libiphone.h | 46 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 include/libiphone/libiphone.h (limited to 'include/libiphone') diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h new file mode 100644 index 0000000..9e559a1 --- /dev/null +++ b/include/libiphone/libiphone.h @@ -0,0 +1,46 @@ +/* + * libiphone.h + * Main include of libiphone + * + * Copyright (c) 2008 Jonathan Beck All Rights Reserved. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef LIBIPHONE_H +#define LIBIPHONE_H + +#ifdef __cplusplus +extern "C" { +#endif + + + + + +typedef struct iPhone *iPhone_t; +typedef struct lockdownd_client *lockdownd_client_t; + + +void free_iPhone(iPhone_t victim); +iPhone_t get_iPhone(); +int lockdownd_init(iPhone_t phone, lockdownd_client_t *control); + +#ifdef __cplusplus +} +#endif + +#endif + -- cgit v1.1-32-gdbae