From a070a2e0b8774132a2c90822ba22580c4d1842da Mon Sep 17 00:00:00 2001 From: Geoffrey Kruse Date: Sat, 6 Mar 2021 16:56:54 -0800 Subject: Initial commit of working packet logger (idevicebtlogger) --- src/bt_packet_logger.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/bt_packet_logger.h (limited to 'src/bt_packet_logger.h') diff --git a/src/bt_packet_logger.h b/src/bt_packet_logger.h new file mode 100644 index 0000000..1ad906d --- /dev/null +++ b/src/bt_packet_logger.h @@ -0,0 +1,36 @@ +/* + * bt_packet_logger.h + * com.apple.bt_packet_logger service header file. + * + * Copyright (c) 2021 Geoffrey Kruse, 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 _SYSLOG_RELAY_H +#define _SYSLOG_RELAY_H + +#include "libimobiledevice/bt_packet_logger.h" +#include "service.h" +#include "common/thread.h" + +struct bt_packet_logger_client_private { + service_client_t parent; + THREAD_T worker; +}; + +void *bt_packet_logger_worker(void *arg); + +#endif -- cgit v1.1-32-gdbae