summaryrefslogtreecommitdiffstats
path: root/src/house_arrest.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-11-05 20:39:07 +0100
committerGravatar Nikias Bassen2010-11-05 20:39:07 +0100
commit139306caebdcc9e4383795227ca3662d484e04d5 (patch)
tree90a0556d014fbd362b602e10ce285f85adc6fd7f /src/house_arrest.h
parenteac909b522bb405cd34a8fb48259ea3952d2360a (diff)
downloadlibimobiledevice-139306caebdcc9e4383795227ca3662d484e04d5.tar.gz
libimobiledevice-139306caebdcc9e4383795227ca3662d484e04d5.tar.bz2
Add new house_arrest service including small test tool
Diffstat (limited to 'src/house_arrest.h')
-rw-r--r--src/house_arrest.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/house_arrest.h b/src/house_arrest.h
new file mode 100644
index 0000000..6d13a88
--- /dev/null
+++ b/src/house_arrest.h
@@ -0,0 +1,39 @@
+/*
+ * house_arrest.h
+ * com.apple.mobile.house_arrest service header file.
+ *
+ * Copyright (c) 2010 Nikias Bassen, 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 IHOUSE_ARREST_H
+#define IHOUSE_ARREST_H
+
+#include <glib.h>
+
+#include "libimobiledevice/house_arrest.h"
+#include "property_list_service.h"
+
+enum house_arrest_client_mode {
+ HOUSE_ARREST_CLIENT_MODE_NORMAL = 0,
+ HOUSE_ARREST_CLIENT_MODE_AFC,
+};
+
+struct house_arrest_client_private {
+ property_list_service_client_t parent;
+ enum house_arrest_client_mode mode;
+};
+
+#endif