diff options
| author | 2025-06-12 07:30:16 +0200 | |
|---|---|---|
| committer | 2025-06-12 07:30:16 +0200 | |
| commit | eeb320dc055716e0ebeeb8845c9ca8c4e2451124 (patch) | |
| tree | 0030be86adaafbdd5aaefa2e114e72ca8f6f747d /src/ostrace.h | |
| parent | c65b19d8edfcc82230205a76da95d3a4a8a282ec (diff) | |
| download | libimobiledevice-eeb320dc055716e0ebeeb8845c9ca8c4e2451124.tar.gz libimobiledevice-eeb320dc055716e0ebeeb8845c9ca8c4e2451124.tar.bz2 | |
Add os_trace_relay service implementation
Diffstat (limited to 'src/ostrace.h')
| -rw-r--r-- | src/ostrace.h | 37 |
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 @@ | |||
| 1 | /* | ||
| 2 | * ostrace.h | ||
| 3 | * com.apple.os_trace_relay service header file. | ||
| 4 | * | ||
| 5 | * Copyright (c) 2020-2025 Nikias Bassen, All Rights Reserved. | ||
| 6 | * | ||
| 7 | * This library is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU Lesser General Public | ||
| 9 | * License as published by the Free Software Foundation; either | ||
| 10 | * version 2.1 of the License, or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This library is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 15 | * Lesser General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU Lesser General Public | ||
| 18 | * License along with this library; if not, write to the Free Software | ||
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 20 | */ | ||
| 21 | |||
| 22 | #ifndef _OSTRACE_H | ||
| 23 | #define _OSTRACE_H | ||
| 24 | |||
| 25 | #include "idevice.h" | ||
| 26 | #include "libimobiledevice/ostrace.h" | ||
| 27 | #include "service.h" | ||
| 28 | #include <libimobiledevice-glue/thread.h> | ||
| 29 | |||
| 30 | struct ostrace_client_private { | ||
| 31 | service_client_t parent; | ||
| 32 | THREAD_T worker; | ||
| 33 | }; | ||
| 34 | |||
| 35 | void *ostrace_worker(void *arg); | ||
| 36 | |||
| 37 | #endif | ||
