summaryrefslogtreecommitdiffstats
path: root/src/ostrace.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2025-06-12 07:30:16 +0200
committerGravatar Nikias Bassen2025-06-12 07:30:16 +0200
commiteeb320dc055716e0ebeeb8845c9ca8c4e2451124 (patch)
tree0030be86adaafbdd5aaefa2e114e72ca8f6f747d /src/ostrace.h
parentc65b19d8edfcc82230205a76da95d3a4a8a282ec (diff)
downloadlibimobiledevice-eeb320dc055716e0ebeeb8845c9ca8c4e2451124.tar.gz
libimobiledevice-eeb320dc055716e0ebeeb8845c9ca8c4e2451124.tar.bz2
Add os_trace_relay service implementation
Diffstat (limited to 'src/ostrace.h')
-rw-r--r--src/ostrace.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/ostrace.h b/src/ostrace.h
new file mode 100644
index 0000000..dcc3e8d
--- /dev/null
+++ b/src/ostrace.h
@@ -0,0 +1,37 @@
+/*
+ * ostrace.h
+ * com.apple.os_trace_relay service header file.
+ *
+ * Copyright (c) 2020-2025 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 _OSTRACE_H
+#define _OSTRACE_H
+
+#include "idevice.h"
+#include "libimobiledevice/ostrace.h"
+#include "service.h"
+#include <libimobiledevice-glue/thread.h>
+
+struct ostrace_client_private {
+ service_client_t parent;
+ THREAD_T worker;
+};
+
+void *ostrace_worker(void *arg);
+
+#endif