summaryrefslogtreecommitdiffstats
path: root/src/activate.h
diff options
context:
space:
mode:
authorGravatar Joshua Hill2010-06-04 16:05:16 -0400
committerGravatar Joshua Hill2010-06-04 16:05:16 -0400
commit7e9d37959d7db900528d68d44445509f4abc6fdf (patch)
tree2062f863e24d8376f545481e3798662b1fdd3a8e /src/activate.h
parent26e7635460c7369be07455a7bcc7621cf53cdd2d (diff)
downloadidevicerestore-7e9d37959d7db900528d68d44445509f4abc6fdf.tar.gz
idevicerestore-7e9d37959d7db900528d68d44445509f4abc6fdf.tar.bz2
small bugfix in idevicerestore.c get_build_identity and went ahead and added activate code to be cleaned up and added to process later
Diffstat (limited to 'src/activate.h')
-rw-r--r--src/activate.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/activate.h b/src/activate.h
new file mode 100644
index 0000000..1feb11e
--- /dev/null
+++ b/src/activate.h
@@ -0,0 +1,30 @@
+/*
+ * activate.h
+ * Functions to fetch activation records from Apple's servers
+ *
+ * Copyright (c) 2010 Joshua Hill. 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 ACTIVATE_H
+#define ACTIVATE_H
+
+#include <plist/plist.h>
+#include <libimobiledevice/lockdown.h>
+
+int activate_fetch_record(lockdownd_client_t lockdown, plist_t* record);
+
+#endif