summaryrefslogtreecommitdiffstats
path: root/src/activate.h
diff options
context:
space:
mode:
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