diff options
| author | 2013-05-23 14:14:48 +0200 | |
|---|---|---|
| committer | 2013-05-23 14:14:48 +0200 | |
| commit | 06d2399461182e0c0c113fb473902e204117641e (patch) | |
| tree | a246259839027fbf1cf5064a1a6c8c132bdce70e /src/syslog_relay.h | |
| parent | c68121961226dcce52ad38daced6ad848555849e (diff) | |
| download | libimobiledevice-06d2399461182e0c0c113fb473902e204117641e.tar.gz libimobiledevice-06d2399461182e0c0c113fb473902e204117641e.tar.bz2 | |
Add protocol implementation for syslog_relay service
Diffstat (limited to 'src/syslog_relay.h')
| -rw-r--r-- | src/syslog_relay.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/syslog_relay.h b/src/syslog_relay.h new file mode 100644 index 0000000..c6dcf32 --- /dev/null +++ b/src/syslog_relay.h | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | /* | ||
| 2 | * syslog_relay.h | ||
| 3 | * com.apple.syslog_relay service header file. | ||
| 4 | * | ||
| 5 | * Copyright (c) 2013 Martin Szulecki 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 _SYSLOG_RELAY_H | ||
| 23 | #define _SYSLOG_RELAY_H | ||
| 24 | |||
| 25 | #include "libimobiledevice/syslog_relay.h" | ||
| 26 | #include "service.h" | ||
| 27 | #include "common/thread.h" | ||
| 28 | |||
| 29 | struct syslog_relay_client_private { | ||
| 30 | service_client_t parent; | ||
| 31 | thread_t worker; | ||
| 32 | }; | ||
| 33 | |||
| 34 | void *syslog_relay_worker(void *arg); | ||
| 35 | |||
| 36 | #endif | ||
