summaryrefslogtreecommitdiffstats
path: root/src/activate.h
diff options
context:
space:
mode:
authorGravatar Joshua Hill2010-06-21 05:03:27 -0400
committerGravatar Joshua Hill2010-06-21 05:03:27 -0400
commitef2a1037524ad559658a31793d4a96e07773cebc (patch)
tree45416d3eadabe83df85c97a7ce326f27258376c3 /src/activate.h
parent8708123ecfd708239137445c9f83c86a96ae63b7 (diff)
parentb39abb66ffa5e26f38cb2ba03562d091decafc84 (diff)
downloadidevicerestore-ef2a1037524ad559658a31793d4a96e07773cebc.tar.gz
idevicerestore-ef2a1037524ad559658a31793d4a96e07773cebc.tar.bz2
Merge branch 'rcg'
Diffstat (limited to 'src/activate.h')
-rw-r--r--src/activate.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/activate.h b/src/activate.h
new file mode 100644
index 0000000..f992d4f
--- /dev/null
+++ b/src/activate.h
@@ -0,0 +1,32 @@
+/*
+ * 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_device(const char* uuid);
+int activate_check_status(const char* uuid);
+int activate_fetch_record(lockdownd_client_t lockdown, plist_t* record);
+
+#endif